aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-03-30 13:16:00 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-04-17 10:58:25 +0100
commitcc6974e038600bd51571c31c3d70cf18549e00e1 (patch)
treed4edc1eb4831db5a5b37afcec7f53e7217b204c9
parent425359909f63214843612a1c8508bbb192965027 (diff)
downloadsyslinux-cc6974e038600bd51571c31c3d70cf18549e00e1.tar.gz
syslinux-cc6974e038600bd51571c31c3d70cf18549e00e1.tar.xz
syslinux-cc6974e038600bd51571c31c3d70cf18549e00e1.zip
sys/fileread.c: Fix build warning from missing prototype
Include the appropriate header to fix the following warning, sys/fileread.c: In function ‘__file_get_block’: sys/fileread.c:45:5: warning: implicit declaration of function ‘pmapi_read_file’ Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--com32/lib/sys/fileread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/lib/sys/fileread.c b/com32/lib/sys/fileread.c
index 7d9e1b91..26b0ceb6 100644
--- a/com32/lib/sys/fileread.c
+++ b/com32/lib/sys/fileread.c
@@ -34,6 +34,7 @@
#include <errno.h>
#include <string.h>
#include <com32.h>
+#include <pmapi.h>
#include <syslinux/pmapi.h>
#include <minmax.h>
#include "file.h"