From: Todd C. Miller Date: Mon, 10 Sep 2007 21:32:53 +0000 (+0000) Subject: pull in inttypes.h for SIZE_MAX; we avoid stdint.h since inttypes.h predates the... X-Git-Tag: SUDO_1_7_0~358 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fde060e846471eb65585388aad369d169e93468f;p=sudo pull in inttypes.h for SIZE_MAX; we avoid stdint.h since inttypes.h predates the final C99 spec and the standard specifies that it shall include stdint.h anyway --- diff --git a/alloc.c b/alloc.c index f6c3a8aa6..fd552474e 100644 --- a/alloc.c +++ b/alloc.c @@ -41,6 +41,9 @@ #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS) # include #endif /* HAVE_MALLOC_H && !STDC_HEADERS */ +#ifdef HAVE_INTTYPES_H +# include +#endif #include "sudo.h"