aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 0c30ab49a4..4e69230184 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -29,6 +29,10 @@
#include "common/config-file.h"
#include "common/gameDetector.h"
+#if !( defined(__DC__) || defined(__GP32__) )
+#include <unistd.h>
+#endif
+
/*
_____ _ _ _ _ _
|_ _| |__ (_)___ (_)___ __ _ __| |_ _ _ __ ___ _ __ ___ _ _| |