summaryrefslogtreecommitdiff
path: root/evport.c
diff options
context:
space:
mode:
authorRoss Lagerwall <rosslagerwall@gmail.com>2012-02-08 18:46:00 +0200
committerRoss Lagerwall <rosslagerwall@gmail.com>2012-02-08 18:46:00 +0200
commit76d4c929d7504c604c0db6b14ad587028facc4d0 (patch)
treeff0db7fa8061e006834f1746fcf177de99784962 /evport.c
parentc00416f745955684a9034866c53357e93329b3b3 (diff)
downloadlibevent-76d4c929d7504c604c0db6b14ad587028facc4d0.tar.gz
Put #ifdef around some files to support alternate build systems.
Diffstat (limited to 'evport.c')
-rw-r--r--evport.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/evport.c b/evport.c
index 50f065a6..33041f54 100644
--- a/evport.c
+++ b/evport.c
@@ -53,6 +53,8 @@
#include "event2/event-config.h"
#include "evconfig-private.h"
+#ifdef _EVENT_HAVE_EVENT_PORTS
+
#include <sys/time.h>
#include <sys/queue.h>
#include <errno.h>
@@ -442,3 +444,5 @@ evport_dealloc(struct event_base *base)
mm_free(evpd);
}
+
+#endif /* _EVENT_HAVE_EVENT_PORTS */