summaryrefslogtreecommitdiff
path: root/xserver/os
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2023-10-29 16:45:40 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2023-10-29 16:45:40 +0000
commit82c8483383b5fc4e0570c6008130333f5f9bb46b (patch)
tree116d610f341a4415c5a44542113886a7fbb54549 /xserver/os
parent984c9a86a344c3d6b5951ad1e8733bd3c5c1c9f7 (diff)
Update to xserver 21.1.9.
All the security patches have already been committed. Udated autoconf to 2.71 explains the large build infrastructure diff.
Diffstat (limited to 'xserver/os')
-rw-r--r--xserver/os/Makefile.in2
-rw-r--r--xserver/os/auth.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/xserver/os/Makefile.in b/xserver/os/Makefile.in
index 652ae6cbe..e59ba8248 100644
--- a/xserver/os/Makefile.in
+++ b/xserver/os/Makefile.in
@@ -273,6 +273,8 @@ LD_NO_UNDEFINED_FLAG = @LD_NO_UNDEFINED_FLAG@
LEX = @LEX@
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBBSD_CFLAGS = @LIBBSD_CFLAGS@
+LIBBSD_LIBS = @LIBBSD_LIBS@
LIBDRM_CFLAGS = @LIBDRM_CFLAGS@
LIBDRM_LIBS = @LIBDRM_LIBS@
LIBOBJS = @LIBOBJS@
diff --git a/xserver/os/auth.c b/xserver/os/auth.c
index 611e4efb1..243d3c5a8 100644
--- a/xserver/os/auth.c
+++ b/xserver/os/auth.c
@@ -46,9 +46,7 @@ from The Open Group.
#ifdef WIN32
#include <X11/Xw32defs.h>
#endif
-#ifdef HAVE_LIBBSD
-#include <bsd/stdlib.h> /* for arc4random_buf() */
-#endif
+#include <stdlib.h> /* for arc4random_buf() */
struct protocol {
unsigned short name_length;