pkgsrc/lang/openjdk7/patches/patch-bc

13 lines
455 B
Text

$NetBSD: patch-bc,v 1.1 2009/10/18 10:21:01 tnn Exp $
--- jdk/src/solaris/hpi/native_threads/src/threads_bsd.c.orig 2009-10-17 16:49:37.000000000 +0200
+++ jdk/src/solaris/hpi/native_threads/src/threads_bsd.c
@@ -42,7 +42,7 @@
#include <sys/sysctl.h>
#include <pthread.h>
-#if defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#include <pthread_np.h>
#endif
#ifdef __NetBSD__