Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From a16a73f0819d26219ee83cd98eea82786d7c1755 Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 16 Jul 2017 19:28:17 -0700 |
| 4 | Subject: [PATCH] include fcntl.h for loff_t definition |
| 5 | |
| 6 | Fixes |
| 7 | linux_syscall_support.h:2641:26: error: 'loff_t' has not been declared |
| 8 | |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 11 | --- |
| 12 | src/base/linux_syscall_support.h | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/src/base/linux_syscall_support.h b/src/base/linux_syscall_support.h |
| 16 | index 85347a2..70431ca 100644 |
| 17 | --- a/src/base/linux_syscall_support.h |
| 18 | +++ b/src/base/linux_syscall_support.h |
| 19 | @@ -162,6 +162,7 @@ extern "C" { |
| 20 | #include <unistd.h> |
| 21 | #include <linux/unistd.h> |
| 22 | #include <endian.h> |
| 23 | +#include <fcntl.h> |
| 24 | |
| 25 | #ifdef __mips__ |
| 26 | /* Include definitions of the ABI currently in use. */ |