Apply a patch from Evin Robertson -- new pivot_root applet.
[oweals/busybox.git] / sync.c
diff --git a/sync.c b/sync.c
index 8f101cf17a219efbe10a4c980ac6d74dd3daf17c..f95c24c6cfcadd8749664f4fd3c980e21d2b650c 100644 (file)
--- a/sync.c
+++ b/sync.c
@@ -23,6 +23,7 @@
 
 #include "busybox.h"
 #include <stdio.h>
+#include <unistd.h>
 
 extern int sync_main(int argc, char **argv)
 {