$OpenBSD: patch-farsight_helpers_farsight-interfaces_c,v 1.1.1.1 2007/10/27 23:11:50 jasper Exp $
--- farsight/helpers/farsight-interfaces.c.orig	Sun Oct 28 00:08:44 2007
+++ farsight/helpers/farsight-interfaces.c	Sun Oct 28 00:10:43 2007
@@ -33,8 +33,10 @@
 #if defined(__APPLE__) && defined(__MACH__)
 #include <sys/socket.h>
 #endif
+#include <sys/socket.h>
 #include <net/if.h>
 #include <net/if_arp.h>
+#include <netinet/in.h>
 #include <arpa/inet.h>
 
 /**
@@ -280,6 +282,6 @@ gchar * farsight_get_ip_for_interface(gchar *interface
 
 
 #else /* G_OS_WIN32 */
-#error Can\'t use this method for retreiving ip list from OS other than unix or windows
+#error Cannot use this method for retreiving ip list from OS other than unix or windows
 #endif /* G_OS_WIN32 */
 #endif /* G_OS_UNIX */
