blob: 667008a5b1ef842f8a013643192c05685540392e [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 04ea8e001501931f4dbf20288aca78469617b08a Mon Sep 17 00:00:00 2001
2From: 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>
10---
11 src/base/linux_syscall_support.h | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/base/linux_syscall_support.h b/src/base/linux_syscall_support.h
15index 85347a2..70431ca 100644
16--- a/src/base/linux_syscall_support.h
17+++ b/src/base/linux_syscall_support.h
18@@ -162,6 +162,7 @@ extern "C" {
19 #include <unistd.h>
20 #include <linux/unistd.h>
21 #include <endian.h>
22+#include <fcntl.h>
23
24 #ifdef __mips__
25 /* Include definitions of the ABI currently in use. */
26--
272.13.3
28