mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 01:15:08 -05:00
clean up sysincl.h more
Define feature test macros in config.h if needed.
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user