]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
RLIMIT header cleanup
authorHarlan Stenn <stenn@ntp.org>
Sun, 18 Nov 2012 08:37:42 +0000 (03:37 -0500)
committerHarlan Stenn <stenn@ntp.org>
Sun, 18 Nov 2012 08:37:42 +0000 (03:37 -0500)
bk: 50a89e56gTj62TZpA3qe-oT3c7MX5A

ntpd/ntp_config.c
ntpd/ntpd.c

index 276cec5945d2eb6d09af7acde3ef216bad2a0650..8fce602d367d14a469cf5e1c5386b462e69fabed 100644 (file)
@@ -26,6 +26,9 @@
 #ifndef SIGCHLD
 # define SIGCHLD SIGCLD
 #endif
+#ifdef HAVE_SYS_RESOURCE_H
+# include <sys/resource.h>
+#endif /* HAVE_SYS_RESOURCE_H */
 #ifdef HAVE_SYS_WAIT_H
 # include <sys/wait.h>
 #endif
index 5e7b04c9c781b62c6a1522fa62a8f649dfcb0c69..808617b4fc6fc0c658a89a8441efef7d68be81c1 100644 (file)
@@ -47,9 +47,6 @@
 # include <sys/resource.h>
 #endif /* HAVE_SYS_RESOURCE_H */
 #if defined(HAVE_RTPRIO)
-# ifdef HAVE_SYS_RESOURCE_H
-#  include <sys/resource.h>
-# endif
 # ifdef HAVE_SYS_LOCK_H
 #  include <sys/lock.h>
 # endif