Cleanup windows header includes. Where aplicable, inclusion of

windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
pull/1/head
Yang Tse 19 years ago
parent 2259e593a1
commit 4b3090680a
  1. 5
      ares.h
  2. 1
      nameser.h

@ -31,10 +31,7 @@
#include <netinet/in.h>
#include <sys/socket.h>
#include <tcp.h>
#elif defined(WIN32)
#include <winsock2.h>
#include <windows.h>
#else
#elif !defined(WIN32)
#include <netinet/in.h>
#include <sys/socket.h>
#endif

@ -7,7 +7,6 @@
port build */
#ifndef NETWARE
#include <windows.h>
#include <process.h> /* for the _getpid() proto */
#endif /* !NETWARE */
#include <sys/types.h>

Loading…
Cancel
Save