lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 16 Dec 2022 10:00:16 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Michal Kubecek <mkubecek@...e.cz> Cc: netdev@...r.kernel.org Subject: Re: [PATCH ethtool] misc: header includes cleanup Hello: This patch was applied to ethtool/ethtool.git (master) by Michal Kubecek <mkubecek@...e.cz>: On Thu, 8 Dec 2022 14:13:48 +0100 (CET) you wrote: > An attempt to build with -std=c99 or -std=c11 revealed few problems with > system header includes. > > - strcasecmp() and strncasecmp() need <strings.h> > - ioctl() needs <linux/ioctl.h> > - struct ifreq needs <linux/if.h> (unless _USE_MISC is defined) > - fileno() needs _POSIX_C_SOURCE > - strdup() needs _POSIX_C_SOURCE >= _200809L > - inet_aton() would require _DEFAULT_SOURCE > > [...] Here is the summary with links: - [ethtool] misc: header includes cleanup https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=1fa60003a8b8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists