blob: 660468d7311ce96713df19d7b9f43ceacd9a02b6 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 8cf48da5f645dd7bbb1ccbeab5bb0964f40f17f7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Jul 2017 23:18:47 -0700
4Subject: [PATCH 1/5] Include fcntl.h for O_EXCL
5
6Fix
7error: 'O_CREAT' undeclared (first use in this function)
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 invutil/invidx.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/invutil/invidx.c b/invutil/invidx.c
15index 67efdf7..325a9a1 100644
16--- a/invutil/invidx.c
17+++ b/invutil/invidx.c
18@@ -27,6 +27,7 @@
19 #include <sys/stat.h>
20 #include <string.h>
21 #include <uuid/uuid.h>
22+#include <fcntl.h>
23
24 #include "types.h"
25 #include "mlog.h"
26--
272.13.2
28