From a5dfadeb704d29a6ee8d29edd5a2ebe4f2c20134 Mon Sep 17 00:00:00 2001 From: Kees van Reeuwijk Date: Fri, 9 Jul 2010 23:58:37 +0000 Subject: [PATCH] Let string.h include stdint.h, since some programs, in particular llvm/clang, assume that this happens. --- include/string.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/string.h b/include/string.h index 725af17ed..a3268c5a7 100644 --- a/include/string.h +++ b/include/string.h @@ -5,6 +5,12 @@ #ifndef _STRING_H #define _STRING_H +/* Not strictly necessary, but some sources, in particular + * llvm, assume the defines in stdint.h are available when + * string.h is include. + */ +#include + #define NULL ((void *)0) #ifndef _SIZE_T