aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/threadpool.h
diff options
context:
space:
mode:
authorWang He <[email protected]>2016-05-10 13:40:30 +0800
committerAxel Davy <[email protected]>2016-05-18 23:37:14 +0200
commitf21b7d1e5c21b749ae7c19d3dc80dc4e14e4bb77 (patch)
treeac6cf32bdb570f2a9bf02b7b4d25b01a8224da29 /src/gallium/state_trackers/nine/threadpool.h
parentde39231134348a5ffb92f7cc2b3098e11384912a (diff)
st/nine: Minor change to support musl libc
A few changes to support musl libc as well. In particular fpu_control.h is glibc specific. fenv.h doesn't enable to do exactly what we want either, so instead use assembly directly. Signed-off-by: Wang He <[email protected]> Reviewed-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/threadpool.h')
-rw-r--r--src/gallium/state_trackers/nine/threadpool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/threadpool.h b/src/gallium/state_trackers/nine/threadpool.h
index 2562c96f256..6f8f8c455d0 100644
--- a/src/gallium/state_trackers/nine/threadpool.h
+++ b/src/gallium/state_trackers/nine/threadpool.h
@@ -24,6 +24,8 @@
#ifndef _THREADPOOL_H_
#define _THREADPOOL_H_
+#include <pthread.h>
+
struct NineSwapChain9;
#define MAXTHREADS 1