Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makemandb Include <unistd.h> for R_OK W_OK STDOUT_F...
details: https://anonhg.NetBSD.org/src/rev/8d39def5a679
branches: trunk
changeset: 350302:8d39def5a679
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Jan 10 04:34:07 2017 +0000
description:
Include <unistd.h> for R_OK W_OK STDOUT_FILENO access(2)
These symbols are undefined after switch to new zlib.
diffstat:
usr.sbin/makemandb/apropos-utils.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 1dc6ae14bcb8 -r 8d39def5a679 usr.sbin/makemandb/apropos-utils.c
--- a/usr.sbin/makemandb/apropos-utils.c Tue Jan 10 04:27:04 2017 +0000
+++ b/usr.sbin/makemandb/apropos-utils.c Tue Jan 10 04:34:07 2017 +0000
@@ -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.upadhyay%gmail.com@localhost>
* 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 @@
#include <util.h>
#include <zlib.h>
#include <term.h>
+#include <unistd.h>
#undef tab // XXX: manconf.h
#include "apropos-utils.h"
Home |
Main Index |
Thread Index |
Old Index