summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-14 17:28:42 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-14 17:28:42 +0200
commitd5d9476c351d49882efcf3faf805ffaabd2e0df4 (patch)
treece83f0dc2e5ad12d0433cae6b8482be67921b7ce /source4/lib/events
parent3b6042e192f7196b73ec4f3ef948e26cff5f4055 (diff)
downloadsamba-d5d9476c351d49882efcf3faf805ffaabd2e0df4.tar.gz
samba-d5d9476c351d49882efcf3faf805ffaabd2e0df4.tar.bz2
samba-d5d9476c351d49882efcf3faf805ffaabd2e0df4.zip
Revert "lib/events: system/network.h isn't needed"
Somehow this breaks 'make test'... This reverts commit 59faf3bf670140784d5698bbdc8b86afe8e188ec. metze (This used to be commit ece9df0875a32f76af5af913b6a6cdd8eacf0280)
Diffstat (limited to 'source4/lib/events')
-rw-r--r--source4/lib/events/configure.ac1
-rw-r--r--source4/lib/events/events_aio.c1
-rw-r--r--source4/lib/events/events_epoll.c1
-rw-r--r--source4/lib/events/events_standard.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/events/configure.ac b/source4/lib/events/configure.ac
index afae82d7c0..4eb3575aac 100644
--- a/source4/lib/events/configure.ac
+++ b/source4/lib/events/configure.ac
@@ -6,6 +6,7 @@ AC_INIT(events, 1.0.0)
AC_CONFIG_SRCDIR([events.c])
AC_CONFIG_HEADER(config.h)
AC_LIBREPLACE_ALL_CHECKS
+AC_LIBREPLACE_NETWORK_CHECKS
m4_include(libtalloc.m4)
diff --git a/source4/lib/events/events_aio.c b/source4/lib/events/events_aio.c
index b1343efd14..a0417384e0 100644
--- a/source4/lib/events/events_aio.c
+++ b/source4/lib/events/events_aio.c
@@ -32,6 +32,7 @@
#include "includes.h"
#include "system/filesys.h"
+#include "system/network.h"
#include "lib/util/dlinklist.h"
#include "lib/events/events.h"
#include "lib/events/events_internal.h"
diff --git a/source4/lib/events/events_epoll.c b/source4/lib/events/events_epoll.c
index 7316f0f31f..07e66154fc 100644
--- a/source4/lib/events/events_epoll.c
+++ b/source4/lib/events/events_epoll.c
@@ -28,6 +28,7 @@
#include "events_util.h"
#endif
#include "system/filesys.h"
+#include "system/network.h"
#include "events.h"
#include "events_internal.h"
#include <sys/epoll.h>
diff --git a/source4/lib/events/events_standard.c b/source4/lib/events/events_standard.c
index 017ebc02f2..4e41c42206 100644
--- a/source4/lib/events/events_standard.c
+++ b/source4/lib/events/events_standard.c
@@ -35,6 +35,7 @@
#include "events_util.h"
#endif
#include "system/filesys.h"
+#include "system/network.h"
#include "system/select.h" /* needed for HAVE_EVENTS_EPOLL */
#include "events.h"
#include "events_internal.h"