mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-13 23:31:08 +02:00
53092: silence deprecated header warning on older Linux systems
This commit is contained in:
parent
8ad625d90c
commit
ad4afde923
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2024-09-18 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 53092: Src/init.c: silence deprecated header warning on Linux
|
||||
|
||||
2024-09-14 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 53088: Src/exec.c, Src/jobs.c, Test/A01grammar.ztst,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue