diff options
author | Uli Schlachter <psychon@znc.in> | 2022-03-12 14:31:16 +0100 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2022-07-14 18:21:54 +0200 |
commit | 1dc945863b97f111995c14d4f40ecb99e1b141e7 (patch) | |
tree | 2323c7749ba9873f0e20f8650bad9b8f5c1cc935 /src/win32 | |
parent | 913f4767e75ae5d7c6687e81eb54894562b5173d (diff) | |
download | cairo-1dc945863b97f111995c14d4f40ecb99e1b141e7.tar.gz |
Fix complaints from check-preprocessor-syntax.sh
Checking that public header files #include "cairo.h" first (or none)
Checking that private header files #include "some cairo header" first (or none)
Checking that source files #include "cairoint.h" first (or none)
./win32/cairo-dwrite-font-public.c:#include "cairo-win32-private.h"
Checking that there is no #include <cairo.*.h>
./win32/cairo-dwrite-font-public.c: * #include <cairo-win32.h>
Checking that feature conditionals are used with #if only (not #ifdef)
This adds a missing cairoint.h include and makes
check-preprocessor-syntax.sh slightly better in not warning about
includes in C comments.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/cairo-dwrite-font-public.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/win32/cairo-dwrite-font-public.c b/src/win32/cairo-dwrite-font-public.c index 9e4e56ba8..09eddd51d 100644 --- a/src/win32/cairo-dwrite-font-public.c +++ b/src/win32/cairo-dwrite-font-public.c @@ -39,6 +39,7 @@ * with this .c wrapper containing the gtkdocs for cairo-dwrite-font.cpp. */ +#include "cairoint.h" #include "cairo-win32-private.h" /** |