Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From 8cf48da5f645dd7bbb1ccbeab5bb0964f40f17f7 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 13 Jul 2017 23:18:47 -0700 |
| 4 | Subject: [PATCH 1/5] Include fcntl.h for O_EXCL |
| 5 | |
| 6 | Fix |
| 7 | error: 'O_CREAT' undeclared (first use in this function) |
| 8 | |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- |
| 11 | invutil/invidx.c | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
| 14 | diff --git a/invutil/invidx.c b/invutil/invidx.c |
| 15 | index 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 | -- |
| 27 | 2.13.2 |
| 28 | |