summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 6fdb7d2aa7..81782b0855 100644
--- a/vl.c
+++ b/vl.c
@@ -65,7 +65,9 @@
#endif
#ifdef CONFIG_SDL
+#ifdef __APPLE__
#include <SDL/SDL.h>
+#endif
#if defined(__linux__)
/* SDL use the pthreads and they modify sigaction. We don't
want that. */