diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-10-30 10:34:14 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-10-30 17:12:06 -0700 |
commit | 1a836cd47be8177cb3ab3ac2bc90e926c24c0cac (patch) | |
tree | 3edf60b26cdbc13042146f29def94e74ca4d18b4 /hw/xfree86/loader/elf.h | |
parent | 18c9cd6ab799cf8bd7fb90b4965455bece0046c3 (diff) |
dix-config.h: add HAVE_SOCKLEN_T definitionserver-21.1-branch
Needed to build with IPv6 disabled using gcc 14 on some platforms to avoid:
In file included from /usr/X11/include/X11/Xtrans/transport.c:67,
from xstrans.c:17:
/usr/X11/include/X11/Xtrans/Xtranssock.c: In function ‘_XSERVTransSocketOpen’:
/usr/X11/include/X11/Xtrans/Xtranssock.c:467:28: error: passing argument 5
of ‘getsockopt’ from incompatible pointer type [-Wincompatible-pointer-types]
467 | (char *) &val, &len) == 0 && val < 64 * 1024)
| ^~~~
| |
| size_t * {aka long unsigned int *}
(Backport to xserver-21.1-branch of commit a1b5aa5a7f12adc43720a5ae11e6c.
Backport adds autoconf equivalent to meson change from master branch.)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1737>
Diffstat (limited to 'hw/xfree86/loader/elf.h')
0 files changed, 0 insertions, 0 deletions