xorgproto: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Aug 9 20:34:38 UTC 2025


 include/X11/Xos.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 03551e1d648412cad1af643beee3a7f87bdcb8bb
Author: Antoine Jacoutot <ajacoutot at openbsd.org>
Date:   Fri Jul 25 09:07:32 2025 +0200

    Xos.h: include <strings.h> on OpenBSD for index/rindex
    
    Similar to what was done for FreeBSD in:
    https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/commit/6c3a7302fcc7ecf05960ad1794c5effeda5d4945
    
    Signed-off-by: Antoine Jacoutot <ajacoutot at openbsd.org>
    Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/98>

diff --git a/include/X11/Xos.h b/include/X11/Xos.h
index 75cc5b7..9b34a09 100644
--- a/include/X11/Xos.h
+++ b/include/X11/Xos.h
@@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group.
  */
 
 # 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>
 # else
 #  ifndef index


More information about the xorg-commit mailing list