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 fe266cc46..cd59dc2e5 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -16,7 +16,9 @@
16#include "includes.h" 16#include "includes.h"
17 17
18#include <stdarg.h> 18#include <stdarg.h>
19#ifdef HAVE_STDINT_H
19#include <stdint.h> 20#include <stdint.h>
21#endif
20#include <stdio.h> 22#include <stdio.h>
21#include <stdlib.h> 23#include <stdlib.h>
22#include <string.h> 24#include <string.h>