]> git.ipfire.org Git - thirdparty/mtr.git/commit
build: Fix Solaris build issues
authorMatt Kimball <matt.kimball@gmail.com>
Fri, 30 Dec 2016 19:44:32 +0000 (11:44 -0800)
committerMatt Kimball <matt.kimball@gmail.com>
Fri, 30 Dec 2016 21:10:23 +0000 (13:10 -0800)
commitf19df41bba10b570b06383e5cd6e00b85d9bc3bc
treea50c6ca9eb62db1ca72f573ce0ef0df846d13210
parent42651675e68f685c09f6c39f8824e982a8dbbd68
build: Fix Solaris build issues

Prefer ncurses over curses, since curses on Solaris is lacking
wattr_on and wattr_off, but ncurses has them.

Check if sys/ctypes.h exists, since Solaris lacks it.

When sending an IPv6 probe, check if the send socket is already
bound to the intended source address, and if so, avoid rebinding.
Rebinding return an error on Solaris.
README
configure.ac
packet/construct_unix.c
portability/queue.h