slackbuilds_ponce/development/nsis/nsis-fix-compile.patch
Willy Sudiarto Raharjo a9249246ec development/nsis: Include unistd.h to fix compile.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-09-18 23:06:36 -05:00

10 lines
294 B
Diff

--- 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"