summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-09-25 20:45:25 +0000
committerfrosch <frosch@openttd.org>2014-09-25 20:45:25 +0000
commit9d209829eba5a38f8e32fa9ae8d38bb87a51c738 (patch)
tree5051f6ef74584e42de639e9f6e8e13a081b01baa
parentd9179d518ebd0c82c914e67a9c23f522124a1a6c (diff)
downloadopenttd-9d209829eba5a38f8e32fa9ae8d38bb87a51c738.tar.xz
(svn r26922) -Fix: Include strings.h on HAIKU for strcasecmp. Some platforms do not have a strings.h at all, most define the functions in string.h as well.
-rw-r--r--src/stdafx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 0a04e66dd..776031219 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -21,6 +21,7 @@
#include <unistd.h>
#define _GNU_SOURCE
#define TROUBLED_INTS
+ #include <strings.h>
#elif defined(__NDS__)
#include <nds/jtypes.h>
#define TROUBLED_INTS