summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate/code/locate.code.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/locate/code/locate.code.c')
-rw-r--r--usr.bin/locate/code/locate.code.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/locate/code/locate.code.c b/usr.bin/locate/code/locate.code.c
index c7cb097..e44c516 100644
--- a/usr.bin/locate/code/locate.code.c
+++ b/usr.bin/locate/code/locate.code.c
@@ -97,6 +97,7 @@ static char sccsid[] = "@(#)locate.code.c 8.1 (Berkeley) 6/6/93";
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include "locate.h"
#define BGBUFSIZE (NBG * 2) /* size of bigram buffer */
@@ -119,8 +120,6 @@ int bgindex __P((char *));
void usage __P((void));
-extern int optind;
-extern int optopt;
int
main(argc, argv)
OpenPOWER on IntegriCloud