summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2001-08-11 20:48:46 +0000
committerfredb <fredb@pkgsrc.org>2001-08-11 20:48:46 +0000
commitde838f96984ac1e1836244c5af9c4d66f9a457e0 (patch)
tree10f8255eb23904049a322ae3f834f19f0b225803 /audio
parent2dd11fd80355540427e7a2a1455f00b9290e5093 (diff)
downloadpkgsrc-de838f96984ac1e1836244c5af9c4d66f9a457e0.tar.gz
Include <pthread.h> to get prototype for pthread_yield_in().
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms/patches/patch-ah19
1 files changed, 15 insertions, 4 deletions
diff --git a/audio/xmms/patches/patch-ah b/audio/xmms/patches/patch-ah
index 84b395c8de6..d2633b6f238 100644
--- a/audio/xmms/patches/patch-ah
+++ b/audio/xmms/patches/patch-ah
@@ -1,8 +1,19 @@
-$NetBSD: patch-ah,v 1.3 2001/05/20 20:52:24 rh Exp $
+$NetBSD: patch-ah,v 1.4 2001/08/11 20:48:46 fredb Exp $
---- libxmms/util.c.orig Mon Oct 2 17:28:41 2000
+--- libxmms/util.c.orig Fri Jun 1 08:07:49 2001
+++ libxmms/util.c
-@@ -68,7 +68,7 @@
+@@ -32,6 +32,10 @@
+ # endif
+ #endif
+
++#ifdef __NetBSD__
++#include <pthread.h>
++#endif
++
+
+ GtkWidget *xmms_show_message(gchar * title, gchar * text, gchar * button_text, gboolean modal, GtkSignalFunc button_action, gpointer action_data)
+ {
+@@ -72,7 +76,7 @@
gboolean xmms_check_realtime_priority(void)
{
@@ -11,7 +22,7 @@ $NetBSD: patch-ah,v 1.3 2001/05/20 20:52:24 rh Exp $
#ifdef __FreeBSD__
/*
* Check if priority scheduling is enabled in the kernel
-@@ -94,11 +94,22 @@
+@@ -98,11 +102,22 @@
#ifdef HAVE_NANOSLEEP
struct timespec req;