summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch')
-rw-r--r--games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch b/games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch
new file mode 100644
index 000000000000..8c5f70d2aece
--- /dev/null
+++ b/games-strategy/warzone2100/files/warzone2100-0.2.2-headers.patch
@@ -0,0 +1,21 @@
+--- warzone2100-0.2.2/lib/sound/cdaudio.c
++++ warzone2100-0.2.2/lib/sound/cdaudio.c
+@@ -1,3 +1,7 @@
++#include "frame.h"
++#include "audio.h"
++#include "cdaudio.h"
++
+ #ifdef WZ_CDA
+
+ #include <SDL/SDL.h>
+@@ -19,10 +23,6 @@
+
+ #endif
+
+-#include "frame.h"
+-#include "audio.h"
+-#include "cdaudio.h"
+-
+ #ifdef WZ_CDA
+
+ SDL_CD *cdAudio_dev;