blob: e127154c517a76684d651357ebc1fc0929e159a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- pth_p.h.in.orig 2006-06-08 20:54:03.000000000 +0300
+++ pth_p.h.in 2009-04-28 23:06:45.000000000 +0300
@@ -32,7 +32,15 @@
#include <stdarg.h>
#include <string.h>
#include <setjmp.h>
-#include <signal.h>
+#ifdef __FreeBSD__
+# include <osreldate.h>
+# if __FreeBSD_version < 800070
+ /* See http://www.freebsd.org/cgi/query-pr.cgi?pr=132828 */
+# include <signal.h>
+# endif /* __FreeBSD_version */
+#else /* __FreeBSD__ */
+# include <signal.h>
+#endif /* __FreeBSD__ */
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
|