summaryrefslogtreecommitdiffstats
path: root/gst/festival/gstfestival.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/festival/gstfestival.c')
-rw-r--r--gst/festival/gstfestival.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c
index f6f0a7b0..f2ce45a6 100644
--- a/gst/festival/gstfestival.c
+++ b/gst/festival/gstfestival.c
@@ -79,16 +79,23 @@
#include "config.h"
#endif
+#include <glib.h> /* Needed for G_OS_XXXX macros */
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
#include <string.h>
#include <sys/types.h>
+#ifdef G_OS_WIN32
+#include <winsock2.h>
+#include <ws2tcpip.h>
+#else
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#endif
#include "gstfestival.h"
#include <gst/audio/audio.h>