From: Damien Miller Date: Fri, 17 Apr 2020 04:07:15 +0000 (+1000) Subject: sys/sysctl.h is only used on OpenBSD X-Git-Tag: V_8_3_P1~55 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f96f17f920f38ceea6f3c5cb0b075c46b8929fdc;p=thirdparty%2Fopenssh-portable.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. --- diff --git a/servconf.c b/servconf.c index 7e422ec8f..ce5572db7 100644 --- a/servconf.c +++ b/servconf.c @@ -15,7 +15,7 @@ #include #include -#ifdef HAVE_SYS_SYSCTL_H +#ifdef __OpenBSD__ #include #endif