Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From d39c78d322585a32f9a55c67c25a99602ce08b12 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 1 Apr 2017 09:01:33 -0700 |
| 4 | Subject: [PATCH] include fcntl.h for O_RDWR define |
| 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | --- |
| 8 | tools/lsuio.c | 1 + |
| 9 | tools/rwuio.c | 1 + |
| 10 | 2 files changed, 2 insertions(+) |
| 11 | |
| 12 | diff --git a/tools/lsuio.c b/tools/lsuio.c |
| 13 | index 58eb922..4769446 100644 |
| 14 | --- a/tools/lsuio.c |
| 15 | +++ b/tools/lsuio.c |
| 16 | @@ -19,6 +19,7 @@ |
| 17 | #include <stdio.h> |
| 18 | #include <sys/types.h> |
| 19 | #include <getopt.h> |
| 20 | +#include <fcntl.h> |
| 21 | |
| 22 | #include "system.h" |
| 23 | #include "uio_helper.h" |
| 24 | diff --git a/tools/rwuio.c b/tools/rwuio.c |
| 25 | index aef9e90..ebc71e1 100644 |
| 26 | --- a/tools/rwuio.c |
| 27 | +++ b/tools/rwuio.c |
| 28 | @@ -20,6 +20,7 @@ |
| 29 | */ |
| 30 | #include <stdio.h> |
| 31 | #include <stdlib.h> |
| 32 | +#include <fcntl.h> |
| 33 | #include <sys/types.h> |
| 34 | #include <getopt.h> |
| 35 | |
| 36 | -- |
| 37 | 2.12.1 |
| 38 | |