summaryrefslogtreecommitdiff
path: root/games/jfsw/files/patch-jfaudiolib-src-driver_fluidsynth.c
blob: 3245509ef44825e9e544615856c0ecede0b3643a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Allow definition of clockid_t from within time.h, included by pthread.h

--- jfaudiolib/src/driver_fluidsynth.c.orig	2014-11-17 09:33:38.377936840 +0100
+++ jfaudiolib/src/driver_fluidsynth.c	2014-11-17 18:56:05.694804967 +0100
@@ -29,7 +29,10 @@
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
+
+#define __POSIX_VISIBLE 199309
 #include <pthread.h>
+
 #include <sys/select.h>
 #include <math.h>
 #include <unistd.h>