OSDN Git Service

Attempt to heal bots after r328970.
authorNico Weber <nicolasweber@gmx.de>
Mon, 2 Apr 2018 13:49:35 +0000 (13:49 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 2 Apr 2018 13:49:35 +0000 (13:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328974 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/regcomp.c

index 354e359..12669ab 100644 (file)
@@ -36,6 +36,7 @@
  */
 
 #include <sys/types.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
 #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 {