Skip to content
Snippets Groups Projects
Commit 6c3a7302 authored by Dimitry Andric's avatar Dimitry Andric
Browse files

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: default avatarDimitry Andric <dimitry@andric.com>
parent c85a6ff7
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment