diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-10-23 15:41:08 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2024-10-23 15:48:17 +0200 |
commit | 5e5689a2a40cd16d7593a0c7ddea5511adc3bf22 (patch) | |
tree | efdc8e74b95050cb027cc37ce0ac1b7d19e9c89d /lisp/emacs-lisp | |
parent | c037b253975da883594f10f48e0be53d81a32756 (diff) | |
download | emacs-5e5689a2a40cd16d7593a0c7ddea5511adc3bf22.tar.gz emacs-5e5689a2a40cd16d7593a0c7ddea5511adc3bf22.tar.bz2 emacs-5e5689a2a40cd16d7593a0c7ddea5511adc3bf22.zip |
configure.ac: Fix FIONREAD check with gcc-14 on Solaris
Before this fix, it would fail to build with gcc-14 with the error:
conftest.c: In function 'main':
conftest.c:265:11: error: implicit declaration of function 'ioctl'
[-Wimplicit-function-declaration]
265 | int foo = ioctl (0, FIONREAD, &foo);
| ^~~~~
Solaris documents ioctl() as being defined in <unistd.h>.
* configure.ac: Fix FIONREAD check with gcc-14 on Solaris.
Ref:
https://lists.gnu.org/r/emacs-devel/2024-10/msg00195.html
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions