summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/cairo/src/check-preprocessor-syntax.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/cairo/cairo/src/check-preprocessor-syntax.sh')
-rwxr-xr-xgfx/cairo/cairo/src/check-preprocessor-syntax.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/cairo/cairo/src/check-preprocessor-syntax.sh b/gfx/cairo/cairo/src/check-preprocessor-syntax.sh
index b718f604ee..fa0fa715ff 100755
--- a/gfx/cairo/cairo/src/check-preprocessor-syntax.sh
+++ b/gfx/cairo/cairo/src/check-preprocessor-syntax.sh
@@ -49,7 +49,7 @@ grep . >&2 && stat=1
echo 'Checking that there is no #include <cairo.*.h>'
-grep '#.*\<include\>.*<.*cairo' $ALL >&2 && stat=1
+grep '^[^*]#.*\<include\>.*<.*cairo' $ALL >&2 && stat=1
echo 'Checking that feature conditionals are used with #if only (not #ifdef)'