Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From b7c42c6a9829bea911b22201edd7df2a9bec1a14 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 13 Apr 2015 17:52:34 -0700 |
| 4 | Subject: [PATCH] Include fcntl.h for getting loff_t definition |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- |
| 10 | dosfsck/dosfsck.h | 2 ++ |
| 11 | dosfsck/lfn.c | 1 + |
| 12 | 2 files changed, 3 insertions(+) |
| 13 | |
| 14 | diff --git a/dosfsck/dosfsck.h b/dosfsck/dosfsck.h |
| 15 | index d9314b1..2076d5f 100644 |
| 16 | --- a/dosfsck/dosfsck.h |
| 17 | +++ b/dosfsck/dosfsck.h |
| 18 | @@ -50,6 +50,8 @@ |
| 19 | #define CT_LE_L(v) (v) |
| 20 | #endif /* __BIG_ENDIAN */ |
| 21 | |
| 22 | +#include <fcntl.h> |
| 23 | + |
| 24 | #define VFAT_LN_ATTR (ATTR_RO | ATTR_HIDDEN | ATTR_SYS | ATTR_VOLUME) |
| 25 | |
| 26 | /* ++roman: Use own definition of boot sector structure -- the kernel headers' |
| 27 | diff --git a/dosfsck/lfn.c b/dosfsck/lfn.c |
| 28 | index 9b2cfc3..bb04fda 100644 |
| 29 | --- a/dosfsck/lfn.c |
| 30 | +++ b/dosfsck/lfn.c |
| 31 | @@ -7,6 +7,7 @@ |
| 32 | #include <string.h> |
| 33 | #include <limits.h> |
| 34 | #include <time.h> |
| 35 | +#include <fcntl.h> |
| 36 | |
| 37 | #include "common.h" |
| 38 | #include "io.h" |
| 39 | -- |
| 40 | 2.1.4 |
| 41 | |