summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-04-03 16:34:25 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-04-17 11:23:41 +0100
commitca5c3f6b7bef941189896abde5bd6b6365c5a791 (patch)
tree2cd159fd314d27c2cfc55f38d282676fced59cec
parent1798b3b5423e1350d039b3d4274fb0351567efd7 (diff)
downloadsyslinux-ca5c3f6b7bef941189896abde5bd6b6365c5a791.tar.gz
fs: Include unistd.h for chdir() prototype
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>
-rw-r--r--core/fs/lib/chdir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fs/lib/chdir.c b/core/fs/lib/chdir.c
index 5c7b130f..715284bb 100644
--- a/core/fs/lib/chdir.c
+++ b/core/fs/lib/chdir.c
@@ -1,3 +1,4 @@
+#include <unistd.h>
#include <core.h>
int generic_chdir_start(void)