Browse Source

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>
Nicolas Hüppelshäuser 5 years ago
parent
commit
b096ce0fdd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/echo.c

+ 1 - 0
scripts/echo.c

@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <limits.h>
+#include <unistd.h>
 
 #define WANT_HEX_ESCAPES 1