From c5fe9f7b723f949457263ef8e22ab807d5b549ce Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 5 Jul 2012 23:19:09 -0400 Subject: include sys/resource.h where needed We use functions from sys/resource.h in misc applets, but don't include the header. This breaks building with newer glibc versions, so add the include where needed. Signed-off-by: Mike Frysinger --- networking/ntpd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'networking/ntpd.c') diff --git a/networking/ntpd.c b/networking/ntpd.c index 72e9d0be2..5b92db6f6 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c @@ -46,6 +46,7 @@ #include "libbb.h" #include #include /* For IPTOS_LOWDELAY definition */ +#include /* setpriority */ #include #ifndef IPTOS_LOWDELAY # define IPTOS_LOWDELAY 0x10 -- cgit v1.2.3