diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-03-18 15:11:08 +0100 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-03-21 17:32:30 +0100 |
commit | 94e5252365b5336babe03b7451ea791d2de0dc3e (patch) | |
tree | 95a355218802b2207769874e8fea562ca0abd2d8 | |
parent | dfa606d5a420f81564c7454df1adc46e01e67e47 (diff) |
xquartz: fix missing include of <errno.h>
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435>
-rw-r--r-- | hw/xquartz/applewm.c | 2 | ||||
-rw-r--r-- | hw/xquartz/mach-startup/bundle-main.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c index e743a861e..8cd92f296 100644 --- a/hw/xquartz/applewm.c +++ b/hw/xquartz/applewm.c @@ -34,6 +34,8 @@ #include <dix-config.h> #endif +#include <errno.h> + #include "quartz.h" #include "misc.h" diff --git a/hw/xquartz/mach-startup/bundle-main.c b/hw/xquartz/mach-startup/bundle-main.c index de82e2280..5c5bc70ac 100644 --- a/hw/xquartz/mach-startup/bundle-main.c +++ b/hw/xquartz/mach-startup/bundle-main.c @@ -34,6 +34,7 @@ #include <dix-config.h> #endif +#include <errno.h> #include <X11/Xlib.h> #include <assert.h> #include <unistd.h> |