summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-cq
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/iv/files/patch-cq')
-rw-r--r--japanese/iv/files/patch-cq20
1 files changed, 20 insertions, 0 deletions
diff --git a/japanese/iv/files/patch-cq b/japanese/iv/files/patch-cq
new file mode 100644
index 000000000000..cc8ffd6a8b55
--- /dev/null
+++ b/japanese/iv/files/patch-cq
@@ -0,0 +1,20 @@
+--- src/lib/Dispatch/dispatcher.c.orig Thu Jul 10 00:04:15 2003
++++ src/lib/Dispatch/dispatcher.c Thu Jul 10 00:05:36 2003
+@@ -43,12 +43,16 @@
+ #include <sys/time.h>
+ #include <time.h>
+
++#if __FreeBSD__ >= 2
++#include <osreldate.h>
++#endif
++
+ /* no standard place for this */
+ extern "C" {
+ #if defined(hpux)
+ extern int select(size_t, int*, int*, int*, const struct timeval*);
+ #else
+-#if !defined(AIXV3) && !defined(Solaris_2) && !defined(__lucid) && !defined(linux)
++#if !defined(AIXV3) && !defined(Solaris_2) && !defined(__lucid) && !defined(linux) && !(defined(__FreeBSD__) && (__FreeBSD_version > 500000))
+ extern int select(int, fd_set*, fd_set*, fd_set*, const struct timeval*);
+ #endif
+ #endif