Commit 7f9d185d authored by pdw's avatar pdw

Updated FreeBSD compilation patch from Frédéric Perrin

parent 85eac861
......@@ -6,6 +6,7 @@
static const char rcsid[] = "$Id$";
#include <sys/socket.h>
#include <sys/types.h>
#include <errno.h>
......
......@@ -81,6 +81,14 @@ AC_C_CONST
AC_TYPE_SIZE_T
AC_HEADER_TIME
dnl At least FeeBSD doesn't define s6_addr32 in user-land code, with a
dnl note saying this is not standard
AC_CHECK_DECL([s6_addr32],
[],
[AC_DEFINE([s6_addr32], [__u6_addr.__u6_addr32],
[Define to a way to access the inner bytes of an ip6 address.])],
[#include <netinet/in.h>])
dnl
dnl Are we on a system that uses the STREAMS low-level DLPI interface?
dnl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment