diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-07-19 13:33:21 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-07-19 13:35:11 +0200 |
commit | dbc2fbc5823e2a9fb6dc9536a1716674840da24c (patch) | |
tree | 4f1f4a7731bcc9ef3d63670b3643de50ec67e119 | |
parent | 0006737243ee3599775e41b59c42028e07a68f0a (diff) |
include: libxfont2: fix missing includes of fontproto.h
* needs types from X11/fonts/fontproto.h (eg. NameCheckFunc) from this header,
but forgot to include it.
* needs NULL, which is defined in stddef.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxfont/-/merge_requests/28>
-rw-r--r-- | include/X11/fonts/libxfont2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/X11/fonts/libxfont2.h b/include/X11/fonts/libxfont2.h index 0ba7419..0ddb715 100644 --- a/include/X11/fonts/libxfont2.h +++ b/include/X11/fonts/libxfont2.h @@ -23,10 +23,12 @@ #ifndef _LIBXFONT2_H_ #define _LIBXFONT2_H_ +#include <stddef.h> #include <stdarg.h> #include <stdint.h> #include <X11/Xfuncproto.h> #include <X11/fonts/font.h> +#include <X11/fonts/fontproto.h> #define XFONT2_FPE_FUNCS_VERSION 1 |