From 8bafe4b9426fc14e37f52b5ca589c636e4662012 Mon Sep 17 00:00:00 2001 From: Artyom Skrobov Date: Thu, 12 Jun 2014 16:07:56 +0000 Subject: adding re-include guards into lib/Support/reg*.h llvm-svn: 210794 --- llvm/lib/Support/regex2.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/lib/Support/regex2.h') diff --git a/llvm/lib/Support/regex2.h b/llvm/lib/Support/regex2.h index 21659c34449..d81bfbc97d0 100644 --- a/llvm/lib/Support/regex2.h +++ b/llvm/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 -- cgit v1.2.3