diff options
author | Dimitry Andric <dimitry@andric.com> | 2023-05-20 17:13:28 +0200 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2023-05-20 17:13:28 +0200 |
commit | 6c3a7302fcc7ecf05960ad1794c5effeda5d4945 (patch) | |
tree | fb023e0719d2c32097c778a762f79d225f8e8c71 /include/X11/extensions/panoramiXproto.h | |
parent | c85a6ff7bdd5c07713898e0b95670783d82e8eb3 (diff) |
Xos.h: include <strings.h> on FreeBSD for index/rindex
Adding index() and rindex() as macros wreaks havoc with several libc++
headers, which liberally use the name 'index' for variables, functions,
and more. Get the declarations from <strings.h> instead, where they have
been for at least two decades.
Signed-off-by: Dimitry Andric <dimitry@andric.com>
Diffstat (limited to 'include/X11/extensions/panoramiXproto.h')
0 files changed, 0 insertions, 0 deletions