summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2009-06-11 18:19:05 +0000
committerSimon Howard2009-06-11 18:19:05 +0000
commit3a4db2509420fa89c2ee940cc0998d0d614d63a5 (patch)
tree8ee4a4dc803491d10cdda77eace64668b668012e
parent1a5c3bc61d79361251c99ed116849d125b82dfc1 (diff)
downloadchocolate-doom-3a4db2509420fa89c2ee940cc0998d0d614d63a5.tar.gz
chocolate-doom-3a4db2509420fa89c2ee940cc0998d0d614d63a5.tar.bz2
chocolate-doom-3a4db2509420fa89c2ee940cc0998d0d614d63a5.zip
Include libc_wince.h on Windows CE.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1593
-rw-r--r--pcsound/pcsound.c5
-rw-r--r--setup/display.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/pcsound/pcsound.c b/pcsound/pcsound.c
index 09ef2752..4695e6e1 100644
--- a/pcsound/pcsound.c
+++ b/pcsound/pcsound.c
@@ -27,7 +27,10 @@
#include <stdlib.h>
#include <string.h>
-#include "SDL_getenv.h"
+#ifdef _WIN32_WCE
+#include "libc_wince.h"
+#endif
+
#include "config.h"
#include "pcsound.h"
#include "pcsound_internal.h"
diff --git a/setup/display.c b/setup/display.c
index a0960dfe..596b8a43 100644
--- a/setup/display.c
+++ b/setup/display.c
@@ -21,6 +21,10 @@
#include <string.h>
+#ifdef _WIN32_WCE
+#include "libc_wince.h"
+#endif
+
#include "textscreen.h"
#include "display.h"