summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNicolas Hüppelshäuser2019-03-05 11:54:23 +0100
committerDenys Vlasenko2019-03-05 16:57:04 +0100
commitb096ce0fdda0918f9248ff15838cbc31525fa823 (patch)
tree378cbef0d48fb83d5d32a7233d1c3f61c4c36e23 /scripts
parent4a6748662aaaf20161e6e81961775b3a4b599e46 (diff)
downloadbusybox-b096ce0fdda0918f9248ff15838cbc31525fa823.zip
busybox-b096ce0fdda0918f9248ff15838cbc31525fa823.tar.gz
scripts/echo.c: resolve implicit declaration of function 'dup2'
Signed-off-by: Nicolas Hüppelshäuser <nicolas.hueppelshaeuser@emlix.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/echo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/echo.c b/scripts/echo.c
index 8c6b409..7474ccd 100644
--- a/scripts/echo.c
+++ b/scripts/echo.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <string.h>
#include <limits.h>
+#include <unistd.h>
#define WANT_HEX_ESCAPES 1