stdint.h should only be accessed if HAVE_STDINT_H defined
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 22 Sep 2007 04:54:13 +0000 (04:54 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 22 Sep 2007 04:54:13 +0000 (04:54 +0000)
stdint.h does not exist on Windows.  Conditionally include it
based upon HAVE_STDINT_H

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19965 dc483132-0cff-0310-8789-dd5450dbe970

src/util/t_array.pm

index 19b4c18634314c0e86e7acc1bff832554c37efa7..ed319d60df501356e88aa8be91a941573a1b5d0e 100644 (file)
@@ -41,7 +41,9 @@ __DATA__
 #include <errno.h>
 #include <limits.h>
 #include <string.h>
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
 
 struct <NAME>__header {
     size_t allocated;