aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/examples/ex2/snmp_ex2_manager.erl
diff options
context:
space:
mode:
authorPeer Stritzinger <[email protected]>2012-02-15 21:15:18 +0100
committerGustav Simonsson <[email protected]>2012-02-21 14:43:54 +0100
commit4f3dd18814bbcc75608bbb56a09b844137b76823 (patch)
treec6c5b8ba4a332a9c4e32bb9140e793c33fe2e90b /lib/snmp/examples/ex2/snmp_ex2_manager.erl
parent520ddbc83ec87bcec262680bd915184182e3998e (diff)
downloadotp-4f3dd18814bbcc75608bbb56a09b844137b76823.tar.gz
otp-4f3dd18814bbcc75608bbb56a09b844137b76823.tar.bz2
otp-4f3dd18814bbcc75608bbb56a09b844137b76823.zip
Add missing HAVE_IN6 && AF_INET6 ifdef
This prevents building for operating systems that do not yet have IPv6 compatible socket API. Error can be reproduced by (cross)building for a os that doesn't have these headers. This will abort with a error about incomplete type 'struct in6_addr'. All other uses of IPv6 API in inet_drv.c are conditionalized like in the patch.
Diffstat (limited to 'lib/snmp/examples/ex2/snmp_ex2_manager.erl')
0 files changed, 0 insertions, 0 deletions