summaryrefslogtreecommitdiff
path: root/src/conversation
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2017-02-25 21:12:00 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2017-02-26 14:44:12 +0000
commit6823f671ff058c641011b4714b39ac7bcff67297 (patch)
tree736ada3aceb704a1b24d560739dca6f89332329c /src/conversation
parentfea058a5297479ea66088c8b96c7d3ee9beb1182 (diff)
Hack gnunet_gst_def.h to allow it compile on W32
This is really unnecessary though - these headers are mostly included already from platform.h and gnunet_common.h
Diffstat (limited to 'src/conversation')
-rw-r--r--src/conversation/gnunet_gst_def.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/conversation/gnunet_gst_def.h b/src/conversation/gnunet_gst_def.h
index 9f519b564..85add54b6 100644
--- a/src/conversation/gnunet_gst_def.h
+++ b/src/conversation/gnunet_gst_def.h
@@ -65,20 +65,23 @@
#include <gst/app/gstappsink.h>
// sockets
+#ifndef MINGW
+#if HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
#include <sys/socket.h>
-#include <fcntl.h>
#include <arpa/inet.h>
+#include <netdb.h>
+#endif
#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
+#include <fcntl.h>
//glib stuff
//#include <glib.h>
#include <glib-2.0/glib/gprintf.h>
-#include <glib-unix.h>
+//#include <glib-unix.h>
// static struct AudioMessage *audio_message;