aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/regcomp.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-07-28 10:51:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-07-28 10:51:19 +0000
commiteb11fae6d08f479c0799db45860a98af528fa6e7 (patch)
tree44d492a50c8c1a7eb8e2d17ea3360ec4d066f042 /lib/Support/regcomp.c
parentb8a2042aa938069e862750553db0e4d82d25822c (diff)
downloadsrc-eb11fae6d08f479c0799db45860a98af528fa6e7.tar.gz
src-eb11fae6d08f479c0799db45860a98af528fa6e7.zip
Vendor import of llvm trunk r338150:vendor/llvm/llvm-trunk-r338150
Notes
Notes: svn path=/vendor/llvm/dist/; revision=336809 svn path=/vendor/llvm/llvm-trunk-r338150/; revision=336814; tag=vendor/llvm/llvm-trunk-r338150
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 {