diff options
Diffstat (limited to 'sock.h')
-rw-r--r-- | sock.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +#include <errno.h> +#include <fcntl.h> + +/* To cut down on the ifdef stuff a little bit in other places */ +#ifdef IPV6 +#define AF_INETx AF_INET6 +#else +#define AF_INETx AF_INET +#endif + #ifndef _WIN32 #include <unistd.h> #include <sys/socket.h> |