]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sys_macosx: fix build issue on Sierra and presumably earlier
authorDavid Bohman <debohman@gmail.com>
Tue, 17 Mar 2020 15:24:33 +0000 (08:24 -0700)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 18 Mar 2020 11:23:26 +0000 (12:23 +0100)
sys_macosx.c

index 701c078f286861d7a4cdd2e338e5c6218a4283e6..1b0fc4e189bcdc7a3a2d3e1aae38de94a5f2dfcf 100644 (file)
@@ -46,8 +46,9 @@
 #include "privops.h"
 #include "util.h"
 
-#ifdef HAVE_MACOS_SYS_TIMEX
 #include <dlfcn.h>
+
+#ifdef HAVE_MACOS_SYS_TIMEX
 #include "sys_netbsd.h"
 
 static int have_ntp_adjtime = 0;