Let string.h include stdint.h, since some programs, in particular llvm/clang,
assume that this happens.
This commit is contained in:
parent
8427d774b6
commit
a5dfadeb70
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@
|
||||||
#ifndef _STRING_H
|
#ifndef _STRING_H
|
||||||
#define _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)
|
#define NULL ((void *)0)
|
||||||
|
|
||||||
#ifndef _SIZE_T
|
#ifndef _SIZE_T
|
||||||
|
|
Loading…
Reference in a new issue