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
+7 -7
View File
@@ -19,11 +19,10 @@
#include "setup.h"
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
#include <iphlpapi.h>
#include <malloc.h>
#endif
#else
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
@@ -49,16 +48,17 @@
#endif
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
# include <arpa/nameser.h>
#else
# include "nameser.h"
#endif
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
# include <arpa/nameser_compat.h>
#endif
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
#include <arpa/nameser_compat.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#endif
#include <stdio.h>
#include <stdlib.h>