r17578: in standalone talloc build ensure we get intptr_t if available (which
authorAndrew Tridgell <tridge@samba.org>
Thu, 17 Aug 2006 01:49:42 +0000 (01:49 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:15:38 +0000 (14:15 -0500)
makes the discard_const stuff nicer)

source/lib/talloc/talloc.c

index 5a14109190b559ffb94a676d7be141873f855f78..fc0462929cdf2d1111a7c328748f8c3754d5df5c 100644 (file)
@@ -36,6 +36,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
 
 #if defined(HAVE_STDARG_H)
 #include <stdarg.h>