fs: Include unistd.h for chdir() prototype
authorMatt Fleming <matt.fleming@intel.com>
Tue, 3 Apr 2012 15:34:25 +0000 (16:34 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 17 Apr 2012 10:23:41 +0000 (11:23 +0100)
fs/lib/chdir.c: In function ‘generic_chdir_start’:
fs/lib/chdir.c:5:2: warning: implicit declaration of function ‘chdir’

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/fs/lib/chdir.c

index 5c7b130..715284b 100644 (file)
@@ -1,3 +1,4 @@
+#include <unistd.h>
 #include <core.h>
 
 int generic_chdir_start(void)