Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat strmode on MacOS/X is in string.h
details: https://anonhg.NetBSD.org/src/rev/16c194ec26a2
branches: trunk
changeset: 350224:16c194ec26a2
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 07 21:30:42 2017 +0000
description:
strmode on MacOS/X is in string.h
diffstat:
tools/compat/configure.ac | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 356c6910e640 -r 16c194ec26a2 tools/compat/configure.ac
--- a/tools/compat/configure.ac Sat Jan 07 21:29:30 2017 +0000
+++ b/tools/compat/configure.ac Sat Jan 07 21:30:42 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: configure.ac,v 1.86 2017/01/07 02:52:04 christos Exp $
+# $NetBSD: configure.ac,v 1.87 2017/01/07 21:30:42 christos Exp $
#
# Autoconf definition file for libnbcompat.
#
@@ -158,10 +158,15 @@
#include <util.h>
])
-AC_CHECK_DECLS([issetugid, pread, pwrite, strmode],,, [
+AC_CHECK_DECLS([issetugid, pread, pwrite],,, [
#include <unistd.h>
])
+AC_CHECK_DECLS([strmode],,, [
+#include <unistd.h>
+#include <string.h>
+])
+
AC_CHECK_DECLS([isblank],,, [
#include <ctype.h>
])
Home |
Main Index |
Thread Index |
Old Index