summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2007-09-22 04:54:13 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2007-09-22 04:54:13 +0000
commit74072b43797b81269ce2b4e4f8f86d07a0312052 (patch)
tree9b8156fa38cf137fec4463d6481e22a38fe291c2
parent7c2e4fb7565a7bde7b30ae29b9105e14a9fb4cd7 (diff)
downloadkrb5-74072b43797b81269ce2b4e4f8f86d07a0312052.tar.gz
krb5-74072b43797b81269ce2b4e4f8f86d07a0312052.tar.xz
krb5-74072b43797b81269ce2b4e4f8f86d07a0312052.zip
stdint.h should only be accessed if HAVE_STDINT_H defined
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
-rw-r--r--src/util/t_array.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/t_array.pm b/src/util/t_array.pm
index 19b4c18634..ed319d60df 100644
--- a/src/util/t_array.pm
+++ b/src/util/t_array.pm
@@ -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;