From f96f17f920f38ceea6f3c5cb0b075c46b8929fdc Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 17 Apr 2020 14:07:15 +1000 Subject: 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. --- servconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3