diff options
author | Antonio Quartulli | 2022-04-21 15:19:09 +0200 |
---|---|---|
committer | Gert Doering | 2022-04-22 13:22:39 +0200 |
commit | 0fed64a91d894b46105bf7e8b16edea4d90ab70c (patch) | |
tree | 19c19a9d3d8ab35810e28a98a8ec6b7eff420536 /src/openvpn/packet_id.c | |
parent | 237ba888684e9b035e3b05d661dd44011be0dcb2 (diff) | |
download | openvpn-0fed64a91d894b46105bf7e8b16edea4d90ab70c.zip openvpn-0fed64a91d894b46105bf7e8b16edea4d90ab70c.tar.gz |
auth-pam.c: add missing include limits.h
On most systems limits.h is pulled in by some other header and thus no
error is ever triggered, but it's possible to find the right environment
which lackis this and prevents compiling auth-pam.c (possibly when using
LibreSSL).
Include the header explicitly as it includes the definition of PATH_MAX.
(note that this bug is fixed in Gentoo since 2020 by including a custom
patch, but apparently the issue was never reported upstream)
Reported-by: Michelangelo Scopelliti <kernelpanic@gmx.com>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220421131909.32053-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24136.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/packet_id.c')
0 files changed, 0 insertions, 0 deletions