summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"