diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-12-09 01:58:35 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-12-09 01:58:35 +0000 |
commit | d7e92acb8fa0899411f7ca3574e7b31e4dacdd03 (patch) | |
tree | 8d622b7f1d295d46bd0c2b7751b72659a8530190 /usr.bin | |
parent | a4b5be06227e1022f15e446a073edafcb3251c1e (diff) |
include unistd.h for pledge() and err.h for err.h for err()
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/locate/bigram/locate.bigram.c | 6 |
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] = " "; |