Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat Fix some tests for musl libc -based systems.
details: https://anonhg.NetBSD.org/src/rev/a35f79936ff2
branches: trunk
changeset: 788771:a35f79936ff2
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jul 19 10:53:20 2013 +0000
description:
Fix some tests for musl libc -based systems.
from Justin Cormack and Jens Staal
diffstat:
tools/compat/configure.ac | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 568261b8cd9f -r a35f79936ff2 tools/compat/configure.ac
--- a/tools/compat/configure.ac Fri Jul 19 10:34:51 2013 +0000
+++ b/tools/compat/configure.ac Fri Jul 19 10:53:20 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: configure.ac,v 1.76 2013/03/05 16:26:41 christos Exp $
+# $NetBSD: configure.ac,v 1.77 2013/07/19 10:53:20 pooka Exp $
#
# Autoconf definition file for libnbcompat.
#
@@ -100,7 +100,9 @@
AC_CHECK_TYPE(socklen_t, [AC_DEFINE([HAVE_SOCKLEN_T], 1,
[Define if you have the socklen_t type.])],,
[#include <sys/types.h>
+#ifdef HAVE_RPC_TYPES_H
#include <rpc/types.h>
+#endif
#include <sys/socket.h>])
dnl XXX - This is UGLY. Need a better way to homogenize the bitsized types,
@@ -141,6 +143,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#ifdef HAVE_GETOPT_H
+#include <getopt.h>
+#endif
])
AC_CHECK_DECLS(sys_signame,,, [#include <signal.h>])
Home |
Main Index |
Thread Index |
Old Index