summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-31 23:28:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:41 -0500
commitc50125f6ef127db020bc0fcfdca8ed0b24e4f018 (patch)
treefb737d6ababb45d094309dcc7a73957f0d812b6e /source4/include
parent0697e76440c548910ebab955676114e1e26d7ee3 (diff)
downloadsamba-c50125f6ef127db020bc0fcfdca8ed0b24e4f018.tar.gz
samba-c50125f6ef127db020bc0fcfdca8ed0b24e4f018.tar.bz2
samba-c50125f6ef127db020bc0fcfdca8ed0b24e4f018.zip
r14844: Support a stdbool.h replacement in lib/replace/
(This used to be commit bccfddcafa1fdb56392e2301bbd404964ad9f7c3)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/core.h5
-rw-r--r--source4/include/includes.h8
2 files changed, 2 insertions, 11 deletions
diff --git a/source4/include/core.h b/source4/include/core.h
index cb9da4dd87..6ca276bf0e 100644
--- a/source4/include/core.h
+++ b/source4/include/core.h
@@ -26,11 +26,10 @@
#include "libcli/util/nt_status.h"
+typedef int BOOL;
+
#define False (0)
#define True (1)
-#define Auto (2)
-
-typedef int BOOL;
/* used to hold an arbitrary blob of data */
typedef struct datablob {
diff --git a/source4/include/includes.h b/source4/include/includes.h
index b8aebf2f14..a79a48f377 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -74,14 +74,6 @@ _PUBLIC_ void smb_panic(const char *why) NORETURN_ATTRIBUTE;
#include <stddef.h>
#include <sys/time.h>
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
-
-#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
-#endif
-
#ifdef HAVE_STRING_H
#include <string.h>
#endif