summaryrefslogtreecommitdiff
path: root/lib/Support/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/regcomp.c')
-rw-r--r--lib/Support/regcomp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Support/regcomp.c b/lib/Support/regcomp.c
index 354e359f676b..12669ab75d1a 100644
--- a/lib/Support/regcomp.c
+++ b/lib/Support/regcomp.c
@@ -36,6 +36,7 @@
*/
#include <sys/types.h>
+#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
@@ -47,12 +48,6 @@
#include "regex2.h"
#include "llvm/Config/config.h"
-#if HAVE_STDINT_H
-#include <stdint.h>
-#else
-/* Pessimistically bound memory use */
-#define SIZE_MAX UINT_MAX
-#endif
/* character-class table */
static struct cclass {