aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-04-03 16:28:52 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-04-17 11:23:41 +0100
commit1798b3b5423e1350d039b3d4274fb0351567efd7 (patch)
tree851c406349f182ef64dd35422bae9f39502ec160
parent816f3fc95a0098c435c314735e3b1d96729e8e7e (diff)
downloadsyslinux-1798b3b5423e1350d039b3d4274fb0351567efd7.tar.gz
syslinux-1798b3b5423e1350d039b3d4274fb0351567efd7.tar.xz
syslinux-1798b3b5423e1350d039b3d4274fb0351567efd7.zip
fs: Include header for close() prototype
... which avoids the following build warning, fs/fs.c: In function ‘open_config’: fs/fs.c:97:2: warning: implicit declaration of function ‘close’ Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--core/fs/fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fs/fs.c b/core/fs/fs.c
index d8f8660c..f6b29125 100644
--- a/core/fs/fs.c
+++ b/core/fs/fs.c
@@ -2,6 +2,7 @@
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
+#include <unistd.h>
#include <dprintf.h>
#include "core.h"
#include "dev.h"