summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-10-26 20:23:11 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-10-26 20:23:11 +0000
commitd97112e37019f2f4ec54d24ed43190e26ad8914f (patch)
tree3bdeb35e4a667050f0eeda4e3b67a0a5cbf2c5ed /llvm/lib/Support
parente8dd2bd834ae5138a0029f114526ce4d7d35e84f (diff)
downloadbcm5719-llvm-d97112e37019f2f4ec54d24ed43190e26ad8914f.tar.gz
bcm5719-llvm-d97112e37019f2f4ec54d24ed43190e26ad8914f.zip
Support/reg*.h: Make headers include their dependencies
llvm-svn: 316696
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