about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2024-09-18 10:53:41 +0200
committerOliver Kiddle <opk@zsh.org>2024-09-18 11:08:03 +0200
commitad4afde923bc6e809795c99544f5937d159c6bb9 (patch)
treeb132f0cefaab4a074645c0a99ba3ea1a3447d711 /Src
parent8ad625d90c2df0246aa921c51d248a3b28f43da9 (diff)
downloadzsh-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.c2
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