summaryrefslogtreecommitdiff
path: root/usr.bin/locate/bigram/locate.bigram.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/locate/bigram/locate.bigram.c')
-rw-r--r--usr.bin/locate/bigram/locate.bigram.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/locate/bigram/locate.bigram.c b/usr.bin/locate/bigram/locate.bigram.c
index 58c1c030906..d4d2fa9f763 100644
--- a/usr.bin/locate/bigram/locate.bigram.c
+++ b/usr.bin/locate/bigram/locate.bigram.c
@@ -1,5 +1,5 @@
/*
- * $OpenBSD: locate.bigram.c,v 1.14 2015/11/15 07:44:38 deraadt Exp $
+ * $OpenBSD: locate.bigram.c,v 1.15 2015/12/09 01:58:34 jsg Exp $
*
* Copyright (c) 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
* Copyright (c) 1989, 1993
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: locate.bigram.c,v 1.14 2015/11/15 07:44:38 deraadt Exp $
+ * $Id: locate.bigram.c,v 1.15 2015/12/09 01:58:34 jsg Exp $
*/
/*
@@ -46,6 +46,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
+#include <unistd.h>
+#include <err.h>
#include "locate.h"
u_char buf1[PATH_MAX] = " ";