radvd-project / radvd

radvd | Official repository: https://github.com/radvd-project/radvd
https://radvd.litech.org/
Other
203 stars 106 forks source link

fix builds on newer Linux arches #6

Closed vapier closed 11 years ago

vapier commented 11 years ago

Newer Linux ports are dropping sysctl support. If you try to even include the header, you'll get build failures: /usr/include/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported"

Check for the header before we try to use it.

Signed-off-by: Mike Frysinger vapier@gentoo.org

reubenhwk commented 11 years ago

Very good! Thanks.