[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 04/05: Hack gnunet_gst_def.h to allow it compile o
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 04/05: Hack gnunet_gst_def.h to allow it compile on W32 |
Date: |
Sun, 26 Feb 2017 15:44:34 +0100 |
This is an automated email from the git hooks/post-receive script.
lrn pushed a commit to branch master
in repository gnunet.
commit 6823f671ff058c641011b4714b39ac7bcff67297
Author: Руслан Ижбулатов <address@hidden>
AuthorDate: Sat Feb 25 21:12:00 2017 +0000
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
---
src/conversation/gnunet_gst_def.h | 11 +++++++----
1 file 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;
--
To stop receiving notification emails like this one, please contact
address@hidden