diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libevent/patches/patch-event_c |
Initial import
Diffstat (limited to 'package/libevent/patches/patch-event_c')
-rw-r--r-- | package/libevent/patches/patch-event_c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/libevent/patches/patch-event_c b/package/libevent/patches/patch-event_c new file mode 100644 index 000000000..3a7571cfd --- /dev/null +++ b/package/libevent/patches/patch-event_c @@ -0,0 +1,18 @@ +$Id$ + + In uClibc, clock_gettime(2) is defined as user-space + function in <time.h> instead of <sys/time.h>, so we + need that as well. Candidate for sending to upstream. + +--- libevent-1.3.orig/event.c 2007-02-16 00:49:06.000000000 +0000 ++++ libevent-1.3/event.c 2007-02-18 14:21:29.000000000 +0000 +@@ -51,6 +51,9 @@ + #include <signal.h> + #include <string.h> + #include <assert.h> ++#ifdef __UCLIBC__ ++#include <time.h> ++#endif + + #include "event.h" + #include "event-internal.h" |