summaryrefslogtreecommitdiff
path: root/source4/include/includes.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-02 00:30:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:13 -0500
commit71107c0eb723545ef5807d58af2ab2f5d99d7206 (patch)
treeb8470c59366e72a2bbe98864c991633c01015d42 /source4/include/includes.h
parentead3508ac81ff3ed2a48753f3b5e23537ba6ec73 (diff)
downloadsamba-71107c0eb723545ef5807d58af2ab2f5d99d7206.tar.gz
samba-71107c0eb723545ef5807d58af2ab2f5d99d7206.tar.bz2
samba-71107c0eb723545ef5807d58af2ab2f5d99d7206.zip
r3448: some systems don't have stdint.h
(This used to be commit 8afc2b3bc19c627f7b970ee6ce0480039ed5d3cb)
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r--source4/include/includes.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 24319cad06..c4926ee7c5 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -72,19 +72,18 @@
/** Feel free to add definitions for other compilers here. */
#endif
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include <sys/types.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
#include <unistd.h>
-
#include <stdio.h>
#include <stddef.h>
@@ -92,9 +91,7 @@
#include <sys/param.h>
#endif
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#ifdef HAVE_STRING_H
#include <string.h>