summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/solaris/sun_init.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2024-03-19 10:16:44 +1000
committerMarge Bot <emma+marge@anholt.net>2024-03-19 00:33:26 +0000
commit924939c886ab02eae046d18ced37943e4ac40844 (patch)
treecdcee5c2065a4d618adcb6ad12b065f83ed57fa2 /hw/xfree86/os-support/solaris/sun_init.c
parent792758faa5c089a484ed733d76eee00ddc278177 (diff)
Revert "Fix missing includes of <errno.h>"
Removing errno from xf86_OSlib.h breaks the xf86-input-mouse driver build. And xf86_OSlib.h itself relies on errno anyway in the SYSCALL macro provided by this header. This reverts commit f6a367102cbb4ab8b8d56b1943a06cc07462cd81. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1423>
Diffstat (limited to 'hw/xfree86/os-support/solaris/sun_init.c')
-rw-r--r--hw/xfree86/os-support/solaris/sun_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xfree86/os-support/solaris/sun_init.c b/hw/xfree86/os-support/solaris/sun_init.c
index 415cdb1c8..d7bf2e54b 100644
--- a/hw/xfree86/os-support/solaris/sun_init.c
+++ b/hw/xfree86/os-support/solaris/sun_init.c
@@ -26,8 +26,6 @@
#include <xorg-config.h>
#endif
-#include <errno.h>
-
#include "xf86.h"
#include "xf86Priv.h"
#include "xf86_OSlib.h"