Only in src/dosfsck: boot.o
diff -ru src.orig//dosfsck/check.h src/dosfsck/check.h
--- src.orig//dosfsck/check.h	2014-01-22 16:35:00.859224488 +0100
+++ src/dosfsck/check.h	2014-01-22 16:35:55.203206654 +0100
@@ -6,6 +6,8 @@
 #ifndef _CHECK_H
 #define _CHECK_H
 
+#include <fcntl.h>
+
 loff_t alloc_rootdir_entry(DOS_FS *fs, DIR_ENT *de, const char *pattern);
 
 /* Allocate a free slot in the root directory for a new file. The file name is
Only in src/dosfsck: check.o
Only in src/dosfsck: dosfsck
diff -ru src.orig//dosfsck/dosfsck.h src/dosfsck/dosfsck.h
--- src.orig//dosfsck/dosfsck.h	2014-01-22 16:35:00.859224488 +0100
+++ src/dosfsck/dosfsck.h	2014-01-22 16:39:08.315143281 +0100
@@ -10,6 +10,7 @@
 #define _DOSFSCK_H
 
 #include <sys/types.h>
+#include <fcntl.h>
 #define _LINUX_STAT_H		/* hack to avoid inclusion of <linux/stat.h> */
 #define _LINUX_STRING_H_	/* hack to avoid inclusion of <linux/string.h>*/
 #define _LINUX_FS_H             /* hack to avoid inclusion of <linux/fs.h> */
Only in src/dosfsck: dosfsck.o
Only in src/dosfsck: fat.o
diff -ru src.orig//dosfsck/io.h src/dosfsck/io.h
--- src.orig//dosfsck/io.h	2014-01-22 16:35:00.859224488 +0100
+++ src/dosfsck/io.h	2014-01-22 16:36:16.891199536 +0100
@@ -9,7 +9,7 @@
 #ifndef _IO_H
 #define _IO_H
 
-#include <sys/types.h> /* for loff_t */
+#include <fcntl.h> /* for loff_t */
 
 /* In earlier versions, an own llseek() was used, but glibc lseek() is
  * sufficient (or even better :) for 64 bit offsets in the meantime */
Only in src/dosfsck: lfn.o
