diff options
author | Oliver Kiddle <opk@zsh.org> | 2024-09-18 10:53:41 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2024-09-18 11:08:03 +0200 |
commit | ad4afde923bc6e809795c99544f5937d159c6bb9 (patch) | |
tree | b132f0cefaab4a074645c0a99ba3ea1a3447d711 /Src | |
parent | 8ad625d90c2df0246aa921c51d248a3b28f43da9 (diff) | |
download | zsh-ad4afde923bc6e809795c99544f5937d159c6bb9.tar.gz zsh-ad4afde923bc6e809795c99544f5937d159c6bb9.tar.xz zsh-ad4afde923bc6e809795c99544f5937d159c6bb9.zip |
53092: silence deprecated header warning on older Linux systems
Diffstat (limited to 'Src')
-rw-r--r-- | Src/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c index 2f914f96b..61f759ded 100644 --- a/Src/init.c +++ b/Src/init.c @@ -36,7 +36,7 @@ #include "version.h" -#ifdef HAVE_SYS_SYSCTL_H +#if defined(HAVE_SYS_SYSCTL_H) && !defined(__linux) #include <sys/sysctl.h> #endif |