[chrony-dev] [PATCH] Mac OS X - tidy up includes

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Use "sysincl.h" in place of the common system include files
---
 sys_macosx.c | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/sys_macosx.c b/sys_macosx.c
index bda7308..36981ba 100644
--- a/sys_macosx.c
+++ b/sys_macosx.c
@@ -31,16 +31,7 @@
 
 #ifdef MACOSX
 
-#include <sys/sysctl.h>
-#include <sys/time.h>
-
-#include <nlist.h>
-#include <fcntl.h>
-#include <assert.h>
-#include <sys/time.h>
-
-#include <stdio.h>
-#include <signal.h>
+#include "sysincl.h"
 
 #include <mach/mach.h>
 #include <mach/mach_time.h>
@@ -48,8 +39,8 @@
 
 #include "sys_macosx.h"
 #include "localp.h"
-#include "sched.h"
 #include "logging.h"
+#include "sched.h"
 #include "privops.h"
 #include "util.h"
 
-- 
2.4.9 (Apple Git-60)


-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/