blob: 4c63e73b3c98fc6905de80d01320ea6a3a1ab85e [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From a16a73f0819d26219ee83cd98eea82786d7c1755 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 16 Jul 2017 19:28:17 -0700
4Subject: [PATCH] include fcntl.h for loff_t definition
5
6Fixes
7linux_syscall_support.h:2641:26: error: 'loff_t' has not been declared
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -040010
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011---
12 src/base/linux_syscall_support.h | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/base/linux_syscall_support.h b/src/base/linux_syscall_support.h
16index 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. */