Fix FTBFS on kfreebsd
Include <sys/sysctl.h> for sysctlbyname, and use -lbsd to make the tests build (they use getopt, and our libbsd-overlay cflags redirect that to bsd_getopt).
Loading
Please register or sign in to comment
Include <sys/sysctl.h> for sysctlbyname, and use -lbsd to make the tests build (they use getopt, and our libbsd-overlay cflags redirect that to bsd_getopt).