mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
define _OPENBSD_SOURCE for reallocarray on NetBSD
Report by and debugged with Hisashi T Fujinaka, dtucker nailed the problem (lack of prototype causing return type confusion).
This commit is contained in:
parent
3e1e076550
commit
99522ba7ec
@ -839,6 +839,7 @@ mips-sony-bsd|mips-sony-newsos4)
|
|||||||
if test "x$withval" != "xno" ; then
|
if test "x$withval" != "xno" ; then
|
||||||
need_dash_r=1
|
need_dash_r=1
|
||||||
fi
|
fi
|
||||||
|
CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE"
|
||||||
AC_DEFINE([SSH_TUN_FREEBSD], [1], [Open tunnel devices the FreeBSD way])
|
AC_DEFINE([SSH_TUN_FREEBSD], [1], [Open tunnel devices the FreeBSD way])
|
||||||
AC_CHECK_HEADER([net/if_tap.h], ,
|
AC_CHECK_HEADER([net/if_tap.h], ,
|
||||||
AC_DEFINE([SSH_TUN_NO_L2], [1], [No layer 2 tunnel support]))
|
AC_DEFINE([SSH_TUN_NO_L2], [1], [No layer 2 tunnel support]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user