aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-05-25 19:57:59 +0200
committerDuncaen <mail@duncano.de>2017-05-25 20:07:08 +0200
commit2b8de114576da4f0aba3350694ae1ce5f945f2bb (patch)
treec9c7f89bfbd9e9adfa2ed2d4675527b8ca6170f2
parent06c62c780be55944365bbf81a377e2878383974e (diff)
downloadlobase-2b8de114576da4f0aba3350694ae1ce5f945f2bb.tar.gz
usr.bin/{patch,wc}: include fcntl.h
-rw-r--r--usr.bin/patch/inp.c1
-rw-r--r--usr.bin/wc/wc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/patch/inp.c b/usr.bin/patch/inp.c
index 45f89d2..5b30f44 100644
--- a/usr.bin/patch/inp.c
+++ b/usr.bin/patch/inp.c
@@ -32,6 +32,7 @@
#include <sys/mman.h>
#include <ctype.h>
+#include <fcntl.h>
#include <libgen.h>
#include <stddef.h>
#include <stdint.h>
diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c
index e92a9fc..fe27fbb 100644
--- a/usr.bin/wc/wc.c
+++ b/usr.bin/wc/wc.c
@@ -37,6 +37,7 @@
#include <locale.h>
#include <ctype.h>
#include <err.h>
+#include <fcntl.h>
#include <unistd.h>
#include <util.h>
#include <wchar.h>