summaryrefslogtreecommitdiff
path: root/usr.bin/grep/binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/binary.c')
-rw-r--r--usr.bin/grep/binary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/grep/binary.c b/usr.bin/grep/binary.c
index 119c9466aed..c1377b85854 100644
--- a/usr.bin/grep/binary.c
+++ b/usr.bin/grep/binary.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: binary.c,v 1.19 2021/03/10 21:55:22 millert Exp $ */
+/* $OpenBSD: binary.c,v 1.20 2021/12/15 19:22:44 tb Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -30,6 +30,7 @@
#include <err.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include <zlib.h>
#include "grep.h"