summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/regcclass.h2
-rw-r--r--llvm/lib/Support/regcname.h2
-rw-r--r--llvm/lib/Support/regex2.h3
3 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Support/regcclass.h b/llvm/lib/Support/regcclass.h
index 7fd66046cd8..0b577bb2f24 100644
--- a/llvm/lib/Support/regcclass.h
+++ b/llvm/lib/Support/regcclass.h
@@ -40,6 +40,8 @@
#ifndef LLVM_SUPPORT_REGCCLASS_H
#define LLVM_SUPPORT_REGCCLASS_H
+#include <stddef.h>
+
/* character-class table */
static struct cclass {
const char *name;
diff --git a/llvm/lib/Support/regcname.h b/llvm/lib/Support/regcname.h
index 891d25573e8..1ed6af16b34 100644
--- a/llvm/lib/Support/regcname.h
+++ b/llvm/lib/Support/regcname.h
@@ -38,6 +38,8 @@
#ifndef LLVM_SUPPORT_REGCNAME_H
#define LLVM_SUPPORT_REGCNAME_H
+#include <stddef.h>
+
/* character-name table */
static struct cname {
const char *name;
diff --git a/llvm/lib/Support/regex2.h b/llvm/lib/Support/regex2.h
index d81bfbc97d0..19d14cd14ab 100644
--- a/llvm/lib/Support/regex2.h
+++ b/llvm/lib/Support/regex2.h
@@ -38,6 +38,9 @@
#ifndef LLVM_SUPPORT_REGEX2_H
#define LLVM_SUPPORT_REGEX2_H
+#include "regutils.h"
+#include <stddef.h>
+
/*
* internals of regex_t
*/
OpenPOWER on IntegriCloud