summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-14 00:31:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:21 -0500
commitbc02bba4499b7f6c78dc5db0610fe4f4d238829a (patch)
treeeee8e86cbc3f0334c259ce1819b9af9593f182ec
parentc3b00b471aaa4a0da7f2743ae2170a36bb11a16f (diff)
downloadsamba-bc02bba4499b7f6c78dc5db0610fe4f4d238829a.tar.gz
samba-bc02bba4499b7f6c78dc5db0610fe4f4d238829a.tar.bz2
samba-bc02bba4499b7f6c78dc5db0610fe4f4d238829a.zip
r22829: system/select.h needs to bring in epoll.h for epoll usage in
lib/events (This used to be commit 2c9d0b57f9cef96ac0878a9761f3c15774fda336)
-rw-r--r--source4/lib/replace/system/select.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/system/select.h b/source4/lib/replace/system/select.h
index 97140e1d73..a196f9c478 100644
--- a/source4/lib/replace/system/select.h
+++ b/source4/lib/replace/system/select.h
@@ -31,6 +31,10 @@
#include <sys/select.h>
#endif
+#ifdef HAVE_SYS_EPOLL_H
+#include <sys/epoll.h>
+#endif
+
#ifndef SELECT_CAST
#define SELECT_CAST
#endif