--- helpers/makesis-2.0.0/src/makesis.cpp.orig	2012-11-17 21:23:22.000000000 +0900
+++ helpers/makesis-2.0.0/src/makesis.cpp	2012-11-17 21:23:46.000000000 +0900
@@ -590,6 +590,7 @@
 
 // main function - constructs a CMakeSIS object and calls it's run method
 extern "C" {
+#include <stdlib.h>
 	int main(int argc, _TCHAR *argv[], _TCHAR *envp[])
 	{
 		if(sizeof(WCHAR) != 4) {
