kdrive: drop Solaris specific hack

Since kdrive is only working on Unix'es, we don't need to care whether
that file might not exist on Windows, neither any need for doing so
exlusively on Solaris.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1548>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-05-15 18:52:36 +02:00 committed by Marge Bot
parent 83c94b7345
commit 1b49f6ddb8

View File

@ -34,9 +34,7 @@
#include <X11/XF86keysym.h> #include <X11/XF86keysym.h>
#endif #endif
#include <stdio.h> #include <stdio.h>
#ifdef __sun
#include <sys/file.h> /* needed for FNONBLOCK & FASYNC */ #include <sys/file.h> /* needed for FNONBLOCK & FASYNC */
#endif
#include "xkbsrv.h" #include "xkbsrv.h"