Xos.h: include <strings.h> on OpenBSD for index/rindex

Similar to what was done for FreeBSD in:
6c3a7302fc

Signed-off-by: Antoine Jacoutot <ajacoutot@openbsd.org>
Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/98>
This commit is contained in:
Antoine Jacoutot 2025-07-25 09:07:32 +02:00 committed by Marge Bot
parent f717637569
commit 03551e1d64

View file

@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group.
*/ */
# include <string.h> # include <string.h>
# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) # if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
# include <strings.h> # include <strings.h>
# else # else
# ifndef index # ifndef index