mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-04-04 23:39:54 +00:00
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:
parent
54688e937a
commit
f96f17f920
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#ifdef HAVE_SYS_SYSCTL_H
|
#ifdef __OpenBSD__
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user