pkgsrc/devel/libevent/patches/patch-ad
joerg fcbae5fcca Fix build on AIX: event.c needs time.h to get CLOCK_REALTIME and
the select implementation needs sys/select.h. The latter should be
detected by autoconf, but can break e.g. older DragonFly.
2007-08-01 16:57:15 +00:00

12 lines
268 B
Text

$NetBSD: patch-ad,v 1.1 2007/08/01 17:00:03 joerg Exp $
--- event.c.orig 2007-08-01 16:58:11.000000000 +0200
+++ event.c
@@ -44,6 +44,7 @@
#include <sys/queue.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#ifndef WIN32
#include <unistd.h>
#endif