summaryrefslogtreecommitdiff
path: root/usr.bin/wc/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/wc/wc.c')
-rw-r--r--usr.bin/wc/wc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c
index e92a9fca2b1..4f2e862c45b 100644
--- a/usr.bin/wc/wc.c
+++ b/usr.bin/wc/wc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wc.c,v 1.21 2016/09/16 09:25:23 fcambus Exp $ */
+/* $OpenBSD: wc.c,v 1.22 2018/04/26 12:42:51 guenther Exp $ */
/*
* Copyright (c) 1980, 1987, 1991, 1993
@@ -31,7 +31,8 @@
#include <sys/param.h> /* MAXBSIZE */
#include <sys/stat.h>
-#include <sys/file.h>
+
+#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>