diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-03 00:25:44 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-03 00:25:44 +0000 |
commit | 229bd42ffce2530ebc7e962d0641d55770a82b53 (patch) | |
tree | 2cc94e6704834b7f8a0d5510af198fd22ca0c39b | |
parent | f91e94f6c5a1f1d6dfd3e5a535df303b805bf321 (diff) |
Fix up the set of include files pulled into resolv.h
-rw-r--r-- | include/resolv.h | 10 |
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 { |