summaryrefslogtreecommitdiff
path: root/extra/mplayer/mplayer-38101-sigcontext.patch
blob: 31e2d4c89adafc65c40da7c93e9b4bf996a7e08f (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -rauN mplayer-38101/cpudetect.c mplayer-38101-sigcontext-patch/cpudetect.c
--- mplayer-38101/cpudetect.c	2018-05-17 11:15:24.975263641 +0200
+++ mplayer-38101-sigcontext-patch/cpudetect.c	2018-05-17 12:04:52.811930307 +0200
@@ -38,6 +38,7 @@
 #include <sys/types.h>
 #include <sys/sysctl.h>
 #elif defined(__linux__)
+#define __USE_MISC // for struct struct sigcontext
 #include <signal.h>
 #elif defined(__MINGW32__) || defined(__CYGWIN__)
 #include <windows.h>