summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-25 17:03:27 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:06 +0200
commit7369ef1f1cdeeeed89e454c588edb51d2ea0e962 (patch)
treea1857c6db78fcc8049b8b2f0a99fdd130f065369
parentfd8b5389f675c1ad54dcd81b05ebc12c046b484d (diff)
downloadsamba-7369ef1f1cdeeeed89e454c588edb51d2ea0e962.tar.gz
samba-7369ef1f1cdeeeed89e454c588edb51d2ea0e962.tar.bz2
samba-7369ef1f1cdeeeed89e454c588edb51d2ea0e962.zip
s3-includes: only include system/shmem.h when needed.
Guenther
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/modules/vfs_aio_fork.c1
-rw-r--r--source3/torture/torture.c1
3 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index fef92fa2fa..9aa2ae3598 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -73,7 +73,6 @@
#include "system/locale.h"
#include "system/network.h"
#include "system/passwd.h"
-#include "system/shmem.h"
#include "system/time.h"
#include "system/wait.h"
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index 4ddc71ee9d..54964a373e 100644
--- a/source3/modules/vfs_aio_fork.c
+++ b/source3/modules/vfs_aio_fork.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/shmem.h"
struct mmap_area {
size_t size;
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 68871d304a..bff57614fb 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/shmem.h"
#include "wbc_async.h"
#include "torture/proto.h"
#include "libcli/security/security.h"