gst/rtp/rtp-packet.c: Add sys/types.h include, since OS X doesn't define in_addr_t...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sat, 3 Jan 2004 13:20:57 +0000 (13:20 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sat, 3 Jan 2004 13:20:57 +0000 (13:20 +0000)
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/rtp/rtp-packet.c:
Add sys/types.h include, since OS X doesn't define in_addr_t
in netinet/in.h, like it does on Linux (see #129600).

ChangeLog
gst/rtp/rtp-packet.c

index 17663e0..e8d6fbe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
+
+       * gst/rtp/rtp-packet.c:
+         Add sys/types.h include, since OS X doesn't define in_addr_t
+         in netinet/in.h, like it does on Linux (see #129600).
+
 2004-01-03  Thomas Canty <tommydal@optushome.com.au>
 
        reviewed by: Ronald Bultje  <rbultje@ronald.bitfreak.net>
index 0564fd9..b8d95a6 100644 (file)
@@ -26,6 +26,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
+/* On Panther, netinet/in.h doesn't define in_addr_t */
+#include <sys/types.h>
 #include <netinet/in.h>
 #include <glib.h>