summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-01 17:00:33 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-01 17:00:33 +0100
commitfd54d69ff9b1667e22bd3964de2bd06a2ac90cb3 (patch)
treeb6754e2aa7d20617455eacf95c96f86953cd56f0 /opentrack-compat
parent075d7eee2c5c218451246d0407617ea2bf099274 (diff)
shm: fix winegcc on osx targetting 10.8
see: [ 74%] Generating opentrack-wrapper-wine.exe.so In file included from /Users/sthalik/dev/opentrack/proto-wine/opentrack-wrapper-wine-windows.cxx:7: In file included from /Users/sthalik/dev/opentrack/opentrack-compat/shm.cpp:9: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdio:108:10: fatal error: 'support/win32/support.h' file not found ^ 1 error generated. winegcc: clang++ failed
Diffstat (limited to 'opentrack-compat')
-rw-r--r--opentrack-compat/shm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack-compat/shm.cpp b/opentrack-compat/shm.cpp
index 9eb1b90e..a26b808b 100644
--- a/opentrack-compat/shm.cpp
+++ b/opentrack-compat/shm.cpp
@@ -6,7 +6,7 @@
*/
#include <cstring>
-#include <cstdio>
+#include <stdio.h>
#include "shm.h"
#if defined(_WIN32)