summaryrefslogtreecommitdiff
path: root/source4/include/includes.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-02 01:42:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:13 -0500
commit26c6b4c70bd85d8030a96651f2a255a4d48fcda1 (patch)
tree9d043fc9b4b7ed836066487d9ca354a78adc0136 /source4/include/includes.h
parent71107c0eb723545ef5807d58af2ab2f5d99d7206 (diff)
downloadsamba-26c6b4c70bd85d8030a96651f2a255a4d48fcda1.tar.gz
samba-26c6b4c70bd85d8030a96651f2a255a4d48fcda1.tar.bz2
samba-26c6b4c70bd85d8030a96651f2a255a4d48fcda1.zip
r3449: more include file reduction
the ldb part isn't ideal, I will have to think of a better solution (This used to be commit 6b1f86aea8427a8e957b1aeb0ec2f507297f07cb)
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r--source4/include/includes.h32
1 files changed, 4 insertions, 28 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index c4926ee7c5..a6a2354f67 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -73,26 +73,16 @@
#endif
#include <unistd.h>
-
#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>
+#include <stdlib.h>
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
#endif
-#include <stdlib.h>
-
#ifdef HAVE_STRING_H
#include <string.h>
#endif
@@ -119,24 +109,12 @@
#include <sys/stat.h>
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
-
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
-#ifdef HAVE_SYS_FILIO_H
-#include <sys/filio.h>
-#endif
-
#include <signal.h>
-#ifdef HAVE_CTYPE_H
-#include <ctype.h>
-#endif
-
#include <errno.h>
#ifdef HAVE_SYS_MODE_H
@@ -152,8 +130,6 @@
#include <varargs.h>
#endif
-#include <sys/file.h>
-
#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif
@@ -281,11 +257,11 @@ extern int errno;
/* Lists, trees, caching, database... */
#include "xfile.h"
#include "dlinklist.h"
+#include "talloc.h"
#include "lib/ldb/include/ldb.h"
#include "lib/tdb/include/tdb.h"
#include "lib/tdb/include/spinlock.h"
#include "lib/tdb/include/tdbutil.h"
-#include "talloc.h"
#include "db_wrap.h"
#include "nt_status.h"
#include "trans2.h"