summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
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"