r15644: Now that we are referencing uint32_t and other data types
authorPaul Green <paulg@samba.org>
Tue, 16 May 2006 17:02:26 +0000 (17:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:05 +0000 (11:17 -0500)
defined in <stdint.h>, ensure that it is present. (Not all
implementations pull it in when <sys/types.h> is used).

Paul
(This used to be commit dafe36ec4cff4e5f94e35841966007e3e4758582)

source3/include/includes.h

index a13cffea1408447d9bc8a4efe63eda25654e547f..a74ca7084d5759fc06e73e27ea7592c8fa851b34 100644 (file)
 
 #include <sys/types.h>
 
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #ifdef TIME_WITH_SYS_TIME
 #include <sys/time.h>
 #include <time.h>