summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-16 18:38:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-16 18:38:02 +0100
commitb66ee2ed22754dd44b20c06e573072e328d9a3dd (patch)
treecbcf812eb42ea279740d91887de37254a448545e /source4/lib/events
parent36e490a57dbf5adfd0246a4029344fb95a98131f (diff)
downloadsamba-b66ee2ed22754dd44b20c06e573072e328d9a3dd.tar.gz
samba-b66ee2ed22754dd44b20c06e573072e328d9a3dd.tar.bz2
samba-b66ee2ed22754dd44b20c06e573072e328d9a3dd.zip
Move responsibilities of build.h to makefile.
(This used to be commit a43f6d37bce85748e9cf2675e5beced5db26f1c3)
Diffstat (limited to 'source4/lib/events')
-rw-r--r--source4/lib/events/events.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/events/events.c b/source4/lib/events/events.c
index 555a5092cc..969abeae46 100644
--- a/source4/lib/events/events.c
+++ b/source4/lib/events/events.c
@@ -58,9 +58,6 @@
#include "lib/events/events_internal.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
-#if _SAMBA_BUILD_
-#include "build.h"
-#endif
struct event_ops_list {
struct event_ops_list *next, *prev;
@@ -102,6 +99,9 @@ void event_set_default_backend(const char *backend)
static void event_backend_init(void)
{
#if _SAMBA_BUILD_
+ NTSTATUS s4_events_standard_init(void);
+ NTSTATUS s4_events_select_init(void);
+ NTSTATUS s4_events_epoll_init(void);
init_module_fn static_init[] = { STATIC_LIBEVENTS_MODULES };
if (event_backends) return;
run_init_functions(static_init);