From: Harlan Stenn Date: Sun, 18 Nov 2012 08:37:42 +0000 (-0500) Subject: RLIMIT header cleanup X-Git-Tag: NTP_4_2_7P323~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61ece543a60177a501dd4f50f75a3a71251abc7f;p=thirdparty%2Fntp.git RLIMIT header cleanup bk: 50a89e56gTj62TZpA3qe-oT3c7MX5A --- diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index 276cec594..8fce602d3 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -26,6 +26,9 @@ #ifndef SIGCHLD # define SIGCHLD SIGCLD #endif +#ifdef HAVE_SYS_RESOURCE_H +# include +#endif /* HAVE_SYS_RESOURCE_H */ #ifdef HAVE_SYS_WAIT_H # include #endif diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 5e7b04c9c..808617b4f 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -47,9 +47,6 @@ # include #endif /* HAVE_SYS_RESOURCE_H */ #if defined(HAVE_RTPRIO) -# ifdef HAVE_SYS_RESOURCE_H -# include -# endif # ifdef HAVE_SYS_LOCK_H # include # endif