]> granicus.if.org Git - sudo/commitdiff
We need limits.h here.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 Feb 2014 22:05:36 +0000 (15:05 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 Feb 2014 22:05:36 +0000 (15:05 -0700)
--HG--
branch : 1.7

closefrom.c

index 1d2d2ca5d1f188275a93811a1f16ae11fed72042..6faf028ab814fc54a7303018cd2285b881753042 100644 (file)
@@ -30,6 +30,7 @@
 # endif
 #endif /* STDC_HEADERS */
 #include <fcntl.h>
+#include <limits.h>
 #ifdef HAVE_PSTAT_GETPROC
 # include <sys/param.h>
 # include <sys/pstat.h>
@@ -62,7 +63,7 @@
 
 /*
  * Close all file descriptors greater than or equal to lowfd.
- * This is the expensive (ballback) method.
+ * This is the expensive (fallback) method.
  */
 void
 closefrom_fallback(lowfd)