summaryrefslogtreecommitdiff
path: root/xmalloc.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-02-24 09:04:32 +1100
committerDamien Miller <djm@mindrot.org>2015-02-24 09:04:32 +1100
commit9af21979c00652029e160295e988dea40758ece2 (patch)
tree7f869b75a0d9c60c8b6ba0804e378ced4ddaa11f /xmalloc.c
parent62f678dd51660d6f8aee1da33d3222c5de10a89e (diff)
don't include stdint.h unless HAVE_STDINT_H set
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmalloc.c b/xmalloc.c
index fe266cc4..cd59dc2e 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -16,7 +16,9 @@
#include "includes.h"
#include <stdarg.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>