mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 03:05:06 -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 <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>
|
||||
|
||||
Reference in New Issue
Block a user