summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-02 00:24:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:12 -0500
commitead3508ac81ff3ed2a48753f3b5e23537ba6ec73 (patch)
tree5bf293783de7fbc138ee206749ab02bf18415ea1 /source4/torture
parent28785364baec1fbbf66de9ca38f397d7cc5c2c67 (diff)
downloadsamba-ead3508ac81ff3ed2a48753f3b5e23537ba6ec73.tar.gz
samba-ead3508ac81ff3ed2a48753f3b5e23537ba6ec73.tar.bz2
samba-ead3508ac81ff3ed2a48753f3b5e23537ba6ec73.zip
r3447: more include/system/XXX.h include files
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/basic/locking.c1
-rw-r--r--source4/torture/basic/secleak.c1
-rw-r--r--source4/torture/gentest.c1
-rw-r--r--source4/torture/local/iconv.c1
-rw-r--r--source4/torture/locktest.c1
-rw-r--r--source4/torture/masktest.c1
-rw-r--r--source4/torture/nbench/nbio.c1
-rw-r--r--source4/torture/raw/close.c1
-rw-r--r--source4/torture/raw/lock.c1
-rw-r--r--source4/torture/raw/open.c1
-rw-r--r--source4/torture/raw/read.c1
-rw-r--r--source4/torture/raw/setfileinfo.c1
-rw-r--r--source4/torture/raw/write.c1
-rw-r--r--source4/torture/torture.c1
-rw-r--r--source4/torture/torture_util.c1
15 files changed, 15 insertions, 0 deletions
diff --git a/source4/torture/basic/locking.c b/source4/torture/basic/locking.c
index 00187cbeac..aea94bd5a1 100644
--- a/source4/torture/basic/locking.c
+++ b/source4/torture/basic/locking.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
+#include "system/time.h"
/*
This test checks for two things:
diff --git a/source4/torture/basic/secleak.c b/source4/torture/basic/secleak.c
index 7cf1d43b81..a2d992cfc7 100644
--- a/source4/torture/basic/secleak.c
+++ b/source4/torture/basic/secleak.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
+#include "system/time.h"
static BOOL try_failed_login(struct smbcli_state *cli)
{
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 59775e02d9..583cec5b45 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/time.h"
#include "libcli/raw/libcliraw.h"
#define NSERVERS 2
diff --git a/source4/torture/local/iconv.c b/source4/torture/local/iconv.c
index eeca81e470..ab64044513 100644
--- a/source4/torture/local/iconv.c
+++ b/source4/torture/local/iconv.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "system/iconv.h"
+#include "system/time.h"
#if HAVE_NATIVE_ICONV
/*
diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c
index 6d5558c6fd..2461785512 100644
--- a/source4/torture/locktest.c
+++ b/source4/torture/locktest.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/time.h"
static int numops = 1000;
static BOOL showall;
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c
index c112158492..1f4bce0288 100644
--- a/source4/torture/masktest.c
+++ b/source4/torture/masktest.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
+#include "system/time.h"
static fstring password;
static fstring username;
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c
index 9e4a08eea4..5ef791037a 100644
--- a/source4/torture/nbench/nbio.c
+++ b/source4/torture/nbench/nbio.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "system/time.h"
#define MAX_FILES 100
diff --git a/source4/torture/raw/close.c b/source4/torture/raw/close.c
index 7a53c9be4a..f6884f37c9 100644
--- a/source4/torture/raw/close.c
+++ b/source4/torture/raw/close.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/time.h"
/* basic testing of all RAW_CLOSE_* calls
diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c
index 9d7ff0a28f..034c793260 100644
--- a/source4/torture/raw/lock.c
+++ b/source4/torture/raw/lock.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
+#include "system/time.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \
diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c
index 5da0338552..03621dca45 100644
--- a/source4/torture/raw/open.c
+++ b/source4/torture/raw/open.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
+#include "system/time.h"
/* enum for whether reads/writes are possible on a file */
enum rdwr_mode {RDWR_NONE, RDWR_RDONLY, RDWR_WRONLY, RDWR_RDWR};
diff --git a/source4/torture/raw/read.c b/source4/torture/raw/read.c
index 46b5f9403a..8b76a5a029 100644
--- a/source4/torture/raw/read.c
+++ b/source4/torture/raw/read.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
+#include "system/time.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \
diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c
index f4baf1f020..d0368df5b6 100644
--- a/source4/torture/raw/setfileinfo.c
+++ b/source4/torture/raw/setfileinfo.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/time.h"
#define BASEDIR "\\testsfileinfo"
diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c
index 28faf6b22c..585e231cac 100644
--- a/source4/torture/raw/write.c
+++ b/source4/torture/raw/write.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
+#include "system/time.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 15ecd02923..969e68265d 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
+#include "system/time.h"
int torture_nprocs=4;
int torture_numops=100;
diff --git a/source4/torture/torture_util.c b/source4/torture/torture_util.c
index 41e616b5be..0c0464507d 100644
--- a/source4/torture/torture_util.c
+++ b/source4/torture/torture_util.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "system/shmem.h"
+#include "system/time.h"
static struct timeval tp1,tp2;