summaryrefslogtreecommitdiffstats
path: root/usr.bin/dtc/fdt.cc
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2013-01-23 08:54:34 +0000
committertheraven <theraven@FreeBSD.org>2013-01-23 08:54:34 +0000
commit3a9fce047039421aa47d5899ea0662767b2aa7d3 (patch)
treeba30f01ee271209b1bbcb2ae95d2eab02c0c22ca /usr.bin/dtc/fdt.cc
parent0a8e117609c86b2131bd4a057d9ddddcb07fe530 (diff)
downloadFreeBSD-src-3a9fce047039421aa47d5899ea0662767b2aa7d3.zip
FreeBSD-src-3a9fce047039421aa47d5899ea0662767b2aa7d3.tar.gz
Explicitly include headers that are implicitly included by libstdc++. Fixes
building dtc with libc++.
Diffstat (limited to 'usr.bin/dtc/fdt.cc')
-rw-r--r--usr.bin/dtc/fdt.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/dtc/fdt.cc b/usr.bin/dtc/fdt.cc
index 70b7d45..b6e7d56 100644
--- a/usr.bin/dtc/fdt.cc
+++ b/usr.bin/dtc/fdt.cc
@@ -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
OpenPOWER on IntegriCloud