summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-10-07 11:25:52 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-10-07 11:30:14 +0100
commit29d11c4566ee342670ae32fbfff6dd7b1973f65e (patch)
tree442b7842ae26e9fe57a6955298ed80031fbe2d9f
parentd626c5b996a72dca3fa54071496cf037b4b03c66 (diff)
gst-ptp-helper: #include <sys/socket.h> to fix net/if.h include on OSX 10.6
In file included from gst-ptp-helper.c:40:0: /usr/include/net/if.h:265:19: error: field 'ifru_addr' has incomplete type struct sockaddr ifru_addr; https://bugzilla.gnome.org/show_bug.cgi?id=756136
-rw-r--r--libs/gst/helpers/gst-ptp-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gst/helpers/gst-ptp-helper.c b/libs/gst/helpers/gst-ptp-helper.c
index 12a909722..ad5b4e916 100644
--- a/libs/gst/helpers/gst-ptp-helper.c
+++ b/libs/gst/helpers/gst-ptp-helper.c
@@ -37,6 +37,7 @@
#include <sys/types.h>
#include <errno.h>
#include <sys/ioctl.h>
+#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
#include <string.h>