summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-02-11 10:15:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:43 -0500
commitc8ca613e935b44488435a269957a68b48d2af90f (patch)
treee7360c1beb0b126a19e88cac97691f2f352efbea /source4
parent30ce2c49c53da9feaf336aed63a687cbe416dfbb (diff)
downloadsamba-c8ca613e935b44488435a269957a68b48d2af90f.tar.gz
samba-c8ca613e935b44488435a269957a68b48d2af90f.tar.bz2
samba-c8ca613e935b44488435a269957a68b48d2af90f.zip
r5330: Remove #include <sys/time.h> from includes.h.
Add #include "system/time.h" back (it was removed in some of these places because the definitions were provided by <sys/time.h> on tridge's platform.) Andrew Bartlett (This used to be commit 34b1da730304bed7fee5bae7cbde7fbccecb6af5)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/includes.h1
-rw-r--r--source4/lib/ldb/tools/ldbtest.c1
-rw-r--r--source4/lib/tdb/tools/tdbtest.c1
-rw-r--r--source4/libcli/auth/clikrb5.c1
-rw-r--r--source4/libcli/auth/gensec_krb5.c1
-rw-r--r--source4/libcli/auth/kerberos.c1
6 files changed, 5 insertions, 1 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 2e04e365eb..8675ad0ba6 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -51,7 +51,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
-#include <sys/time.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
diff --git a/source4/lib/ldb/tools/ldbtest.c b/source4/lib/ldb/tools/ldbtest.c
index 67630d4458..a166447aae 100644
--- a/source4/lib/ldb/tools/ldbtest.c
+++ b/source4/lib/ldb/tools/ldbtest.c
@@ -38,6 +38,7 @@
#ifdef _SAMBA_BUILD_
#include "system/filesys.h"
+#include "system/time.h"
#endif
static const char *ldb_url;
diff --git a/source4/lib/tdb/tools/tdbtest.c b/source4/lib/tdb/tools/tdbtest.c
index e55d08f840..4f7f7faafc 100644
--- a/source4/lib/tdb/tools/tdbtest.c
+++ b/source4/lib/tdb/tools/tdbtest.c
@@ -17,6 +17,7 @@
#include "includes.h"
#include "system/filesys.h"
+#include "system/time.h"
#include "lib/tdb/include/tdb.h"
#endif
diff --git a/source4/libcli/auth/clikrb5.c b/source4/libcli/auth/clikrb5.c
index f2536663f4..5a196db7a5 100644
--- a/source4/libcli/auth/clikrb5.c
+++ b/source4/libcli/auth/clikrb5.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "system/network.h"
#include "system/kerberos.h"
+#include "system/time.h"
#include "libcli/auth/kerberos.h"
#ifdef HAVE_KRB5
diff --git a/source4/libcli/auth/gensec_krb5.c b/source4/libcli/auth/gensec_krb5.c
index 1fc33d3644..a0c2a77f4b 100644
--- a/source4/libcli/auth/gensec_krb5.c
+++ b/source4/libcli/auth/gensec_krb5.c
@@ -26,6 +26,7 @@
#include "includes.h"
#include "system/kerberos.h"
+#include "system/time.h"
#include "libcli/auth/kerberos.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
#include "auth/auth.h"
diff --git a/source4/libcli/auth/kerberos.c b/source4/libcli/auth/kerberos.c
index 186da0fcf4..45838c6818 100644
--- a/source4/libcli/auth/kerberos.c
+++ b/source4/libcli/auth/kerberos.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "system/kerberos.h"
+#include "system/time.h"
#include "libcli/auth/kerberos.h"
#include "secrets.h"
#include "pstring.h"