Undo previous change. This header file belongs to the public

interface and the change could break the compilation of thrid
party apps which link against this library.
pull/1/head
Yang Tse 19 years ago
parent bfc7b16712
commit c43edebb70
  1. 5
      ares.h
  2. 1
      nameser.h

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

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

Loading…
Cancel
Save