shithub: choc

Download patch

ref: 3a4db2509420fa89c2ee940cc0998d0d614d63a5
parent: 1a5c3bc61d79361251c99ed116849d125b82dfc1
author: Simon Howard <[email protected]>
date: Thu Jun 11 14:19:05 EDT 2009

Include libc_wince.h on Windows CE.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1593

--- 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"
--- 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"