1From d39c78d322585a32f9a55c67c25a99602ce08b12 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Sat, 1 Apr 2017 09:01:33 -0700 4Subject: [PATCH] include fcntl.h for O_RDWR define 5 6Signed-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 12diff --git a/tools/lsuio.c b/tools/lsuio.c 13index 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" 24diff --git a/tools/rwuio.c b/tools/rwuio.c 25index 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-- 372.12.1 38 39