X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetworkOLK%2Ffgd.h;h=22bee01bd0b6cdc7ab79b681eaa2edf97f55707a;hb=b9e866cfdd765cc742a6c9b3e35c8a9c1ca08dfc;hp=c25d2b521f2497f09446caa9f916a3addf947736;hpb=a93e97c4383f6ee403f8ecc3d2f5fedc8ebacba6;p=flightgear.git diff --git a/src/NetworkOLK/fgd.h b/src/NetworkOLK/fgd.h index c25d2b521..22bee01bd 100644 --- a/src/NetworkOLK/fgd.h +++ b/src/NetworkOLK/fgd.h @@ -1,8 +1,23 @@ -#include + + +#ifndef _MSC_VER + #include +#include #include #include #include #include #include -#include \ No newline at end of file +#include + +/* 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 */