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