aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2014-10-10 16:34:34 +1000
committerSteve Bennett <steveb@workware.net.au>2014-10-10 16:34:34 +1000
commit20e9c4c1decdadcec69e43bd7c14f51996baf94c (patch)
tree640fd1bd5d39669e05aa7fc1aec3635a3617195d
parent9fdfec1fe8074eeb7ed2d15506929d0be3af6d56 (diff)
parent69137d8b5510490cc9d7a3ba2829afb30f1b5ec1 (diff)
downloadjimtcl-20e9c4c1decdadcec69e43bd7c14f51996baf94c.zip
jimtcl-20e9c4c1decdadcec69e43bd7c14f51996baf94c.tar.gz
jimtcl-20e9c4c1decdadcec69e43bd7c14f51996baf94c.tar.bz2
Merge pull request #21 from oswjk/fix-strtod-problem-on-mingw
jim-win32compat.h: fix compile error about __strtod on mingw
-rw-r--r--jim-win32compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/jim-win32compat.h b/jim-win32compat.h
index 23a3dfe..b772b6f 100644
--- a/jim-win32compat.h
+++ b/jim-win32compat.h
@@ -68,6 +68,7 @@ struct dirent *readdir(DIR *dir);
#elif defined(__MINGW32__)
+#include <stdlib.h>
#define strtod __strtod
#endif