summaryrefslogtreecommitdiffstats
path: root/mapfile.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-10 19:41:03 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-01-10 19:45:30 -0800
commitd86b307ecfdcd0a4e63e3cd6af6beb2830ffc69b (patch)
tree93d30a43b072a8e5c3ef0a2f93503db3df142c86 /mapfile.c
parentc06acbc485b9650cda1d6b9ff934b2be670937ea (diff)
downloadwraplinux-d86b307ecfdcd0a4e63e3cd6af6beb2830ffc69b.tar.gz
wraplinux-d86b307ecfdcd0a4e63e3cd6af6beb2830ffc69b.tar.xz
wraplinux-d86b307ecfdcd0a4e63e3cd6af6beb2830ffc69b.zip
Autoconstipate the build setup, and generate dependencies.
Add autoconstipation framework (from mkzfree) and dependency generation (from nasm).
Diffstat (limited to 'mapfile.c')
-rw-r--r--mapfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mapfile.c b/mapfile.c
index 370175e..5894626 100644
--- a/mapfile.c
+++ b/mapfile.c
@@ -21,9 +21,12 @@
* size up to at least a dword boundary.
*/
+#include "wraplinux.h"
+
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
+#include <sys/stat.h>
void *mapfile(int fd, size_t *len, int writable)
{