summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstasteriskh263.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-11-14 02:13:35 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-14 02:13:35 +0000
commit6ff59b2f6e36596ee6f347da307de9b61ff92bdd (patch)
tree94b0f7973c99338603968e83bdf8ca2ba60c13e1 /gst/rtp/gstasteriskh263.c
parent57b2ee4bb58e2783618d4ccb385dbf782c4ba3b1 (diff)
rework configure.ac; make asterisk rtp stuff compile on mingw
Original commit message from CVS: rework configure.ac; make asterisk rtp stuff compile on mingw
Diffstat (limited to 'gst/rtp/gstasteriskh263.c')
-rw-r--r--gst/rtp/gstasteriskh263.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gst/rtp/gstasteriskh263.c b/gst/rtp/gstasteriskh263.c
index 2c27e15e..e38abea3 100644
--- a/gst/rtp/gstasteriskh263.c
+++ b/gst/rtp/gstasteriskh263.c
@@ -17,11 +17,18 @@
#endif
#include <string.h>
-#include <netinet/in.h>
#include <gst/rtp/gstrtpbuffer.h>
#include "gstasteriskh263.h"
+#ifdef HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+
+#ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+#endif
+
#define GST_ASTERISKH263_HEADER_LEN 6
typedef struct _GstAsteriskH263Header