summaryrefslogtreecommitdiff
path: root/lib/Support/regex2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/regex2.h')
-rw-r--r--lib/Support/regex2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Support/regex2.h b/lib/Support/regex2.h
index 21659c3444..d81bfbc97d 100644
--- a/lib/Support/regex2.h
+++ b/lib/Support/regex2.h
@@ -35,6 +35,9 @@
* @(#)regex2.h 8.4 (Berkeley) 3/20/94
*/
+#ifndef LLVM_SUPPORT_REGEX2_H
+#define LLVM_SUPPORT_REGEX2_H
+
/*
* internals of regex_t
*/
@@ -155,3 +158,5 @@ struct re_guts {
/* misc utilities */
#define OUT (CHAR_MAX+1) /* a non-character value */
#define ISWORD(c) (isalnum(c&0xff) || (c) == '_')
+
+#endif