aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDynamicAnnotations.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkDynamicAnnotations.h')
-rw-r--r--include/core/SkDynamicAnnotations.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkDynamicAnnotations.h b/include/core/SkDynamicAnnotations.h
index 2775b38cec..af8bdb675f 100644
--- a/include/core/SkDynamicAnnotations.h
+++ b/include/core/SkDynamicAnnotations.h
@@ -8,6 +8,9 @@
#ifndef SkDynamicAnnotations_DEFINED
#define SkDynamicAnnotations_DEFINED
+// Make sure we see anything set via SkUserConfig.h (e.g. SK_DYNAMIC_ANNOTATIONS_ENABLED).
+#include "SkTypes.h"
+
// This file contains macros used to send out-of-band signals to dynamic instrumentation systems,
// namely thread sanitizer. This is a cut-down version of the full dynamic_annotations library with
// only the features used by Skia.