foxygit / doom Log in
commit 3a4db2509420fa89c2ee940cc0998d0d614d63a5
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Thu Jun 11 18:19:05 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Thu Jun 11 18:19:05 2009 +0000

    Include libc_wince.h on Windows CE.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1593
---
 pcsound/pcsound.c | 5 ++++-
 setup/display.c   | 4 ++++
 2 files changed, 8 insertions(+), 1 deletion(-)

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"