xfree86: xlibre-server.h: fix missing HAVE_TIMINGSAFE_MEMCMP

os.h still defining our own timingsafe_memcmp() prototype when this
symbol isn't set - this is causing trouble with drivers on FreeBSD.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-22 11:59:20 +01:00
committed by Enrico Weigelt
parent 5acf9d4069
commit ad08af5ea9

View File

@@ -214,4 +214,7 @@
#define XORG_API_DIX_SCREEN_HOOK_CLOSE 1
#define XORG_API_DIX_SCREEN_HOOK_PIXMAP_DESTROY 1
/* needed for os.h to prevent redefinition of timingsafe_memcmp in drivers */
#mesondefine HAVE_TIMINGSAFE_MEMCMP
#endif /* _XORG_SERVER_H_ */