summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/wabt/base-types.h4
-rw-r--r--include/wabt/binary-reader.h4
-rw-r--r--include/wabt/string-format.h2
-rw-r--r--include/wabt/utf8.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/include/wabt/base-types.h b/include/wabt/base-types.h
index dbf37700..37c8e111 100644
--- a/include/wabt/base-types.h
+++ b/include/wabt/base-types.h
@@ -17,8 +17,8 @@
#ifndef WABT_BASE_TYPES_H_
#define WABT_BASE_TYPES_H_
-#include <stddef.h>
-#include <stdint.h>
+#include <cstddef>
+#include <cstdint>
namespace wabt {
diff --git a/include/wabt/binary-reader.h b/include/wabt/binary-reader.h
index 43b0f433..4f6f5796 100644
--- a/include/wabt/binary-reader.h
+++ b/include/wabt/binary-reader.h
@@ -17,8 +17,8 @@
#ifndef WABT_BINARY_READER_H_
#define WABT_BINARY_READER_H_
-#include <stddef.h>
-#include <stdint.h>
+#include <cstddef>
+#include <cstdint>
#include <string_view>
#include "wabt/binary.h"
diff --git a/include/wabt/string-format.h b/include/wabt/string-format.h
index fd32cafc..892facf2 100644
--- a/include/wabt/string-format.h
+++ b/include/wabt/string-format.h
@@ -17,7 +17,7 @@
#ifndef WABT_STRING_FORMAT_H_
#define WABT_STRING_FORMAT_H_
-#include <stdarg.h>
+#include <cstdarg>
#include <string>
#include <vector>
diff --git a/include/wabt/utf8.h b/include/wabt/utf8.h
index c3780357..9e3b9ebd 100644
--- a/include/wabt/utf8.h
+++ b/include/wabt/utf8.h
@@ -17,7 +17,7 @@
#ifndef WABT_UTF8_H_
#define WABT_UTF8_H_
-#include <stdlib.h>
+#include <cstddef>
namespace wabt {