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 12:26:58 -0700 |
commit | a1b5aa5a7f12adc43720a5ae11e6cef42b78df83 (patch) | |
tree | 7b599770419a7d4398745c2d5b67cedb1e55b10f /XpConfig/C/print | |
parent | 56ba0b2a5f1052c5a2a0503fb2cea89b273de56f (diff) |
dix-config.h: add HAVE_SOCKLEN_T definition
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 *}
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1736>
Diffstat (limited to 'XpConfig/C/print')
0 files changed, 0 insertions, 0 deletions