diff options
Diffstat (limited to 'gst/rtp/gstasteriskh263.c')
-rw-r--r-- | gst/rtp/gstasteriskh263.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/rtp/gstasteriskh263.c b/gst/rtp/gstasteriskh263.c index 9597261c..df93cfe4 100644 --- a/gst/rtp/gstasteriskh263.c +++ b/gst/rtp/gstasteriskh263.c @@ -21,13 +21,15 @@ #include <gst/rtp/gstrtpbuffer.h> #include "gstasteriskh263.h" +/* Cygwin has both netinet/in.h and winsock2.h, but + * only one can be included, so prefer the unix one */ #ifdef HAVE_NETINET_IN_H # include <netinet/in.h> -#endif - +#else #ifdef HAVE_WINSOCK2_H # include <winsock2.h> #endif +#endif #define GST_ASTERISKH263_HEADER_LEN 6 |