summaryrefslogtreecommitdiff
path: root/src/js_native_api_v8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/js_native_api_v8.h')
-rw-r--r--src/js_native_api_v8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js_native_api_v8.h b/src/js_native_api_v8.h
index d746660df4..4e1779e8f0 100644
--- a/src/js_native_api_v8.h
+++ b/src/js_native_api_v8.h
@@ -1,7 +1,8 @@
#ifndef SRC_JS_NATIVE_API_V8_H_
#define SRC_JS_NATIVE_API_V8_H_
-#include <string.h>
+// This file needs to be compatible with C compilers.
+#include <string.h> // NOLINT(modernize-deprecated-headers)
#include "js_native_api_types.h"
#include "js_native_api_v8_internals.h"