]> granicus.if.org Git - sudo/commitdiff
pull in inttypes.h for SIZE_MAX; we avoid stdint.h since inttypes.h predates the...
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 10 Sep 2007 21:32:53 +0000 (21:32 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 10 Sep 2007 21:32:53 +0000 (21:32 +0000)
alloc.c

diff --git a/alloc.c b/alloc.c
index f6c3a8aa653f5fd05c745774cdba5275d0da9074..fd552474e3464ceaaa8ae5509b8dd900274ad71c 100644 (file)
--- a/alloc.c
+++ b/alloc.c
@@ -41,6 +41,9 @@
 #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
 # include <malloc.h>
 #endif /* HAVE_MALLOC_H && !STDC_HEADERS */
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
 
 #include "sudo.h"