blob: ea38dc3c4d1ee6a9a791d172fa39f0eaf626ffa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ac,v 1.4 2014/12/08 14:04:57 mef Exp $
limits.h is ISO C, unconditionally include it. Keep conditional for
sys/syslimits.h though.
--- chkdirs.c.orig 2006-01-19 23:40:21.000000000 +0000
+++ chkdirs.c
@@ -25,9 +25,8 @@
*/
-#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun) || defined (hpux) || defined (__bsdi__) || defined (bsdi) || defined (__APPLE__)
#include <limits.h>
-#elif defined(__APPLE__) && defined(__MACH__)
+#if defined(__APPLE__) && defined(__MACH__)
#include <sys/syslimits.h>
#endif
|