adjust inclusion of "nameser.h"

This commit is contained in:
Yang Tse
2008-09-17 01:02:57 +00:00
parent 861ea67ee8
commit f214b583f5
20 changed files with 154 additions and 189 deletions
-15
View File
@@ -5,20 +5,6 @@
/* only do the following on windows
*/
#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <errno.h>
#include <malloc.h>
#ifdef WATT32
#include <sys/socket.h>
#else
#include "nameser.h"
#endif
#include "ares.h"
#include "ares_private.h"
#ifdef __WATCOMC__
/*
@@ -34,5 +20,4 @@ WINAPI DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
}
#endif
#endif /* WIN32 builds only */