summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h
index f9980291f..fdde01737 100644
--- a/src/gui/palette.h
+++ b/src/gui/palette.h
@@ -28,7 +28,12 @@
#include <guichan/color.hpp>
+#if defined __native_client__
+#include <stdlib.h>
+#else
#include <cstdlib>
+#endif
+
#include <map>
#include <string>
#include <set>