mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 03:30:25 +01:00
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:
parent
f717637569
commit
03551e1d64
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue