]> git.mxchange.org Git - flightgear.git/blobdiff - src/NetworkOLK/fgd.h
Added write-all parameter to save command. If set to true, the
[flightgear.git] / src / NetworkOLK / fgd.h
index c25d2b521f2497f09446caa9f916a3addf947736..22bee01bd0b6cdc7ab79b681eaa2edf97f55707a 100644 (file)
@@ -1,8 +1,23 @@
-#include <sys/socket.h>
+
+
+#ifndef  _MSC_VER
+
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <unistd.h>
 #include <netdb.h>
 #include <sys/time.h>
 #include <fcntl.h>
-#include <sys/utsname.h>
\ No newline at end of file
+#include <sys/utsname.h>
+
+/* this seems to be missing for glibc-2.0.x */
+/* libc5 & glibc-2.1 do have them           */
+#ifndef MSG_PEEK
+#define MSG_PEEK        0x02    /* Peek at incoming messages.  */
+#endif
+#ifndef MSG_WAITALL
+#define MSG_WAITALL     0x100   /* Wait for a full request.  */
+#endif
+
+#endif   /* !_MSC_VER */