Explicitly include headers that are implicitly included by libstdc++. Fixes

building dtc with libc++.
This commit is contained in:
David Chisnall 2013-01-23 08:54:34 +00:00
parent 8f197f151c
commit 009f7b425d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245839
6 changed files with 24 additions and 4 deletions

View File

@ -31,6 +31,7 @@
*/
#include "checking.hh"
#include <stdio.h>
namespace dtc
{

View File

@ -31,7 +31,11 @@
*/
#include "dtb.hh"
#include <sys/types.h>
#include <inttypes.h>
#include <stdio.h>
#include <unistd.h>
namespace dtc
{

View File

@ -31,10 +31,14 @@
*/
#include <sys/resource.h>
#include <time.h>
#include <stdio.h>
#include <fcntl.h>
#include <libgen.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include "fdt.hh"
#include "checking.hh"

View File

@ -33,9 +33,13 @@
#include "fdt.hh"
#include <algorithm>
#include <inttypes.h>
#include <ctype.h>
#include <fcntl.h>
#include <inttypes.h>
#include <libgen.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "dtb.hh"
namespace dtc

View File

@ -31,8 +31,13 @@
*/
#include "input_buffer.hh"
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/mman.h>

View File

@ -31,6 +31,8 @@
*/
#include "string.hh"
#include <ctype.h>
#include <stdio.h>
namespace
{