diff options
author | Damien Miller <djm@mindrot.org> | 2020-04-17 14:07:15 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-04-17 14:07:15 +1000 |
commit | f96f17f920f38ceea6f3c5cb0b075c46b8929fdc (patch) | |
tree | ca27fc7e8507fecccd3c263f6d946d61f9cbbb5a | |
parent | 54688e937a69c7aebef8a3d50cbd4c6345bab2ca (diff) |
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.
-rw-r--r-- | servconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ #include <sys/types.h> #include <sys/socket.h> -#ifdef HAVE_SYS_SYSCTL_H +#ifdef __OpenBSD__ #include <sys/sysctl.h> #endif |