]> Zhao Yanbai Git Server - minix.git/commitdiff
Let string.h include stdint.h, since some programs, in particular llvm/clang,
authorKees van Reeuwijk <reeuwijk@few.vu.nl>
Fri, 9 Jul 2010 23:58:37 +0000 (23:58 +0000)
committerKees van Reeuwijk <reeuwijk@few.vu.nl>
Fri, 9 Jul 2010 23:58:37 +0000 (23:58 +0000)
assume that this happens.

include/string.h

index 725af17eda9f794a201687e0e21fd68a741311ff..a3268c5a790056dc02e56b8535d97c13432a9691 100644 (file)
@@ -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 <stdint.h>
+
 #define NULL    ((void *)0)
 
 #ifndef _SIZE_T