diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2017-02-25 21:12:00 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2017-02-26 14:44:12 +0000 |
commit | 6823f671ff058c641011b4714b39ac7bcff67297 (patch) | |
tree | 736ada3aceb704a1b24d560739dca6f89332329c /src/conversation/gnunet_gst_def.h | |
parent | fea058a5297479ea66088c8b96c7d3ee9beb1182 (diff) | |
download | gnunet-6823f671ff058c641011b4714b39ac7bcff67297.tar.gz gnunet-6823f671ff058c641011b4714b39ac7bcff67297.zip |
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/gnunet_gst_def.h')
-rw-r--r-- | src/conversation/gnunet_gst_def.h | 11 |
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 @@ | |||
65 | #include <gst/app/gstappsink.h> | 65 | #include <gst/app/gstappsink.h> |
66 | 66 | ||
67 | // sockets | 67 | // sockets |
68 | #ifndef MINGW | ||
69 | #if HAVE_NETINET_IN_H | ||
68 | #include <netinet/in.h> | 70 | #include <netinet/in.h> |
71 | #endif | ||
69 | #include <sys/socket.h> | 72 | #include <sys/socket.h> |
70 | #include <fcntl.h> | ||
71 | #include <arpa/inet.h> | 73 | #include <arpa/inet.h> |
74 | #include <netdb.h> | ||
75 | #endif | ||
72 | 76 | ||
73 | #include <sys/types.h> | 77 | #include <sys/types.h> |
74 | #include <sys/socket.h> | 78 | #include <fcntl.h> |
75 | #include <netdb.h> | ||
76 | 79 | ||
77 | 80 | ||
78 | //glib stuff | 81 | //glib stuff |
79 | //#include <glib.h> | 82 | //#include <glib.h> |
80 | #include <glib-2.0/glib/gprintf.h> | 83 | #include <glib-2.0/glib/gprintf.h> |
81 | #include <glib-unix.h> | 84 | //#include <glib-unix.h> |
82 | 85 | ||
83 | // static struct AudioMessage *audio_message; | 86 | // static struct AudioMessage *audio_message; |
84 | 87 | ||