summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/includes.h b/includes.h
index 033cd91fa..37d402ef4 100644
--- a/includes.h
+++ b/includes.h
@@ -50,6 +50,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
50#ifdef HAVE_NETGROUP_H 50#ifdef HAVE_NETGROUP_H
51# include <netgroup.h> 51# include <netgroup.h>
52#endif 52#endif
53#if defined(HAVE_NETDB_H)
54# include <netdb.h>
55#endif
53#ifdef HAVE_ENDIAN_H 56#ifdef HAVE_ENDIAN_H
54# include <endian.h> 57# include <endian.h>
55#endif 58#endif
@@ -65,7 +68,6 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
65#ifdef HAVE_NEXT 68#ifdef HAVE_NEXT
66# include <libc.h> 69# include <libc.h>
67#endif 70#endif
68#define __USE_GNU /* before unistd.h, activate extra prototypes for glibc */
69#include <unistd.h> /* For STDIN_FILENO, etc */ 71#include <unistd.h> /* For STDIN_FILENO, etc */
70#include <termios.h> /* Struct winsize */ 72#include <termios.h> /* Struct winsize */
71 73
@@ -131,18 +133,12 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
131#ifdef HAVE_SYS_MMAN_H 133#ifdef HAVE_SYS_MMAN_H
132#include <sys/mman.h> /* for MAP_ANONYMOUS */ 134#include <sys/mman.h> /* for MAP_ANONYMOUS */
133#endif 135#endif
134#ifdef HAVE_SYS_STRTIO_H
135#include <sys/strtio.h> /* for TIOCCBRK on HP-UX */
136#endif
137 136
138#include <netinet/in_systm.h> /* For typedefs */ 137#include <netinet/in_systm.h> /* For typedefs */
139#include <netinet/in.h> /* For IPv6 macros */ 138#include <netinet/in.h> /* For IPv6 macros */
140#include <netinet/ip.h> /* For IPTOS macros */ 139#include <netinet/ip.h> /* For IPTOS macros */
141#include <netinet/tcp.h> 140#include <netinet/tcp.h>
142#include <arpa/inet.h> 141#include <arpa/inet.h>
143#if defined(HAVE_NETDB_H)
144# include <netdb.h>
145#endif
146#ifdef HAVE_RPC_TYPES_H 142#ifdef HAVE_RPC_TYPES_H
147# include <rpc/types.h> /* For INADDR_LOOPBACK */ 143# include <rpc/types.h> /* For INADDR_LOOPBACK */
148#endif 144#endif
@@ -171,6 +167,7 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
171 167
172#include "version.h" 168#include "version.h"
173#include "openbsd-compat/openbsd-compat.h" 169#include "openbsd-compat/openbsd-compat.h"
170#include "openbsd-compat/bsd-cygwin_util.h"
174#include "openbsd-compat/bsd-nextstep.h" 171#include "openbsd-compat/bsd-nextstep.h"
175 172
176#include "entropy.h" 173#include "entropy.h"