clean up sysincl.h more
Define feature test macros in config.h if needed.
This commit is contained in:
parent
3cd32ed660
commit
046f219a0e
1 changed files with 1 additions and 6 deletions
|
@ -55,6 +55,7 @@
|
||||||
#include <sys/shm.h>
|
#include <sys/shm.h>
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef HAVE_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
@ -64,12 +65,6 @@
|
||||||
/* Tough */
|
/* Tough */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* One or other of these to make getsid() visible */
|
|
||||||
#define __EXTENSIONS__ 1
|
|
||||||
#define __USE_XOPEN_EXTENDED 1
|
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#ifdef FEAT_IPV6
|
#ifdef FEAT_IPV6
|
||||||
/* For inet_ntop() */
|
/* For inet_ntop() */
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
Loading…
Reference in a new issue