summaryrefslogtreecommitdiff
path: root/packages/libsdl/files/sdl-cdfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libsdl/files/sdl-cdfix.patch')
-rw-r--r--packages/libsdl/files/sdl-cdfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/libsdl/files/sdl-cdfix.patch b/packages/libsdl/files/sdl-cdfix.patch
new file mode 100644
index 0000000000..a6a36483d4
--- /dev/null
+++ b/packages/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