summaryrefslogtreecommitdiff
path: root/recipes/libsdl/files/sdl-cdfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libsdl/files/sdl-cdfix.patch')
-rw-r--r--recipes/libsdl/files/sdl-cdfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/libsdl/files/sdl-cdfix.patch b/recipes/libsdl/files/sdl-cdfix.patch
new file mode 100644
index 0000000000..a6a36483d4
--- /dev/null
+++ b/recipes/libsdl/files/sdl-cdfix.patch
@@ -0,0 +1,11 @@
+--- /tmp/SDL_syscdrom.c 2008-08-11 21:56:58.000000000 +0200
++++ SDL-1.2.11/src/cdrom/linux/SDL_syscdrom.c 2008-08-11 21:57:07.813198000 +0200
+@@ -51,6 +51,8 @@
+ #ifdef __SVR4
+ #include <sys/cdio.h>
+ #endif
++#include <linux/cdrom.h>
++
+
+ /* Define this to use the alternative getmntent() code */
+ #ifndef __SVR4