--- nsis-2.46-src/Source/script.cpp.orig	2012-09-19 07:37:04.579646966 +0700
+++ nsis-2.46-src/Source/script.cpp	2012-09-19 07:37:34.676226671 +0700
@@ -16,6 +16,7 @@
 
 #include "Platform.h"
 #include <stdio.h>
+#include <unistd.h>
 #include <ctype.h>
 #include "tokens.h"
 #include "build.h"