OpenBSD Compiling problem

I’ve finally gotten all headers found on compile. I had a problem with the if_ether.h being found. I actually had to find ip_ether.h and copy it with the if_ether.h file name. Now I’ve run into the following during the make:

Patches for 0.9a9 on OpenBSD 3.7 and -current.

aux/pcap-0.7.2
--- nametoaddr.c.orig Tue Sep 13 03:18:47 2005
+++ nametoaddr.c Tue Sep 13 03:20:55 2005
@@ -364,7 +364,7 @@
   * "const char *", so no matter how we declare it here, it'll fail to
   * compile on one of 3.x or 4.x).
   */
-#if !defined(sgi) && !defined(__NetBSD__) && !defined(__FreeBSD__)
+#if !defined(sgi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
  extern int ether_hostton(char *, struct ether_addr *);
  #endif

--- hf.l.orig Tue Sep 13 03:31:25 2005
+++ hf.l Mon Sep 19 00:37:44 2005
@@ -16,17 +16,17 @@

      #ifdef NEED_NAMESER_COMPAT_H
          #include <arpa/nameser_compat.h>
- #ifndef NS_MAXDNAME
- #define NS_MAXDNAME 1025
- #endif
- #ifndef NS_INADDRSZ
- #define NS_INADDRSZ 4
- #endif
- #ifndef NS_IN6ADDRSZ
- #define NS_IN6ADDRSZ 16
- #endif
      #else
          #include <arpa/nameser.h>
+ #endif
+ #ifndef NS_MAXDNAME
+ #define NS_MAXDNAME 1025
+ #endif
+ #ifndef NS_INADDRSZ
+ #define NS_INADDRSZ 4
+ #endif
+ #ifndef NS_IN6ADDRSZ
+ #define NS_IN6ADDRSZ 16
      #endif

      #include <ctype.h>