]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Not all systems supply sys/cdefs.h and some require limits.h for PATH_MAX.
authorRoy Marples <roy@marples.name>
Sun, 1 May 2016 14:30:08 +0000 (14:30 +0000)
committerRoy Marples <roy@marples.name>
Sun, 1 May 2016 14:30:08 +0000 (14:30 +0000)
compat/pidfile.c

index 46f34c664ee1b9c4e107e780895a2531aacf0fb0..10cbd109063e58d972a3ca6d988b8159e94351fc 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
-#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $");
-#endif
-
 #include <sys/param.h>
 
 #include <errno.h>
 #include <fcntl.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <paths.h>
 #include <stdbool.h>
 #include <stdlib.h>