clean up sysincl.h more

Define feature test macros in config.h if needed.
This commit is contained in:
Miroslav Lichvar 2015-09-18 10:07:56 +02:00
parent 3cd32ed660
commit 046f219a0e

View file

@ -55,6 +55,7 @@
#include <sys/shm.h>
#include <syslog.h>
#include <time.h>
#include <unistd.h>
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
@ -64,12 +65,6 @@
/* Tough */
#endif
/* One or other of these to make getsid() visible */
#define __EXTENSIONS__ 1
#define __USE_XOPEN_EXTENDED 1
#include <unistd.h>
#ifdef FEAT_IPV6
/* For inet_ntop() */
#include <arpa/inet.h>