#include #include #include #include #include #include #include #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