summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-03 00:25:44 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-03 00:25:44 +0000
commit229bd42ffce2530ebc7e962d0641d55770a82b53 (patch)
tree2cc94e6704834b7f8a0d5510af198fd22ca0c39b /include/resolv.h
parentf91e94f6c5a1f1d6dfd3e5a535df303b805bf321 (diff)
Fix up the set of include files pulled into resolv.h
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 950795a28..4f6feed20 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -12,7 +12,15 @@
#ifndef _RESOLV_H_
#define _RESOLV_H_
-#include <netdb.h>
+#include <features.h>
+
+#include <sys/param.h>
+#if (!defined(BSD)) || (BSD < 199306)
+# include <sys/bitypes.h>
+#else
+# include <sys/types.h>
+#endif
+#include <stdio.h>
#include <netinet/in.h>
struct resolv_header {