Module Name: src Committed By: kamil Date: Tue Jan 10 04:34:07 UTC 2017
Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Include <unistd.h> for R_OK W_OK STDOUT_FILENO access(2) These symbols are undefined after switch to new zlib. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/makemandb/apropos-utils.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/makemandb/apropos-utils.c diff -u src/usr.sbin/makemandb/apropos-utils.c:1.29 src/usr.sbin/makemandb/apropos-utils.c:1.30 --- src/usr.sbin/makemandb/apropos-utils.c:1.29 Mon Oct 3 13:36:35 2016 +++ src/usr.sbin/makemandb/apropos-utils.c Tue Jan 10 04:34:07 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: apropos-utils.c,v 1.29 2016/10/03 13:36:35 abhinav Exp $ */ +/* $NetBSD: apropos-utils.c,v 1.30 2017/01/10 04:34:07 kamil Exp $ */ /*- * Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadh...@gmail.com> * All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: apropos-utils.c,v 1.29 2016/10/03 13:36:35 abhinav Exp $"); +__RCSID("$NetBSD: apropos-utils.c,v 1.30 2017/01/10 04:34:07 kamil Exp $"); #include <sys/queue.h> #include <sys/stat.h> @@ -46,6 +46,7 @@ __RCSID("$NetBSD: apropos-utils.c,v 1.29 #include <util.h> #include <zlib.h> #include <term.h> +#include <unistd.h> #undef tab // XXX: manconf.h #include "apropos-utils.h"