mirror of git://anongit.mindrot.org/openssh.git
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/socket.h>
|
||||
#ifdef HAVE_SYS_SYSCTL_H
|
||||
#ifdef __OpenBSD__
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue