aboutsummaryrefslogtreecommitdiff
path: root/development/nsis/nsis-fix-compile.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-19 07:44:10 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-18 23:06:36 -0500
commita9249246ec7fff0266c6608e19551d9117f467b6 (patch)
tree5c87f55ed17691c32005240fdda4db8c3feba8b4 /development/nsis/nsis-fix-compile.patch
parentf38d8f9bf12983ed4cbfbf4d3be6347515b0bd86 (diff)
development/nsis: Include unistd.h to fix compile.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/nsis/nsis-fix-compile.patch')
-rw-r--r--development/nsis/nsis-fix-compile.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/nsis/nsis-fix-compile.patch b/development/nsis/nsis-fix-compile.patch
new file mode 100644
index 0000000000000..62e9e43c5d6f8
--- /dev/null
+++ b/development/nsis/nsis-fix-compile.patch
@@ -0,0 +1,10 @@
+--- 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"