sys/sysctl.h is only used on OpenBSD

so change the preprocessor test used to include it to check
__OpenBSD__, matching the code that uses the symbols it declares.
This commit is contained in:
Damien Miller 2020-04-17 14:07:15 +10:00
parent 54688e937a
commit f96f17f920
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SYSCTL_H
#ifdef __OpenBSD__
#include <sys/sysctl.h>
#endif