Fix the previous revision (system header inclusion cleanup), it

doesn't compile on crufty old systems.
This commit is contained in:
Markus Armbruster 2006-07-11 18:42:08 +00:00
parent f4e018b6ee
commit acad2240e0
4 changed files with 8 additions and 4 deletions

View file

@ -37,6 +37,7 @@
#include <stdio.h>
#include <string.h>
#ifndef _WIN32
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#endif

View file

@ -41,10 +41,11 @@
#include <stdlib.h>
#include <string.h>
#ifndef _WIN32
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>
#else
#include <io.h>

View file

@ -43,6 +43,7 @@
#include <stdlib.h>
#include <string.h>
#if !defined(_WIN32)
#include <sys/types.h>
#include <sys/uio.h>
#endif
#include "ioqueue.h"

View file

@ -39,10 +39,11 @@
#include <winsock2.h>
#undef NS_ALL
#else
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/ioctl.h>
#include <unistd.h>
#endif