openbsd-ports/net/farsight2/patches/patch-gst-libs_gst_farsight_fs-interfaces_c
2010-09-22 14:29:21 +00:00

26 lines
627 B
Plaintext

$OpenBSD: patch-gst-libs_gst_farsight_fs-interfaces_c,v 1.2 2010/09/22 14:29:21 jasper Exp $
--- gst-libs/gst/farsight/fs-interfaces.c.orig Thu Jun 3 21:30:46 2010
+++ gst-libs/gst/farsight/fs-interfaces.c Wed Sep 22 16:16:08 2010
@@ -30,6 +30,10 @@
#ifdef G_OS_UNIX
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+
#include <arpa/inet.h>
#include <errno.h>
#include <net/if.h>
@@ -38,10 +42,8 @@
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
-#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_GETIFADDRS
- #include <sys/socket.h>
#include <ifaddrs.h>
#endif