summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/regcname.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/regcname.h')
-rw-r--r--llvm/lib/Support/regcname.h2
1 files changed, 2 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud