diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/dtc/checking.cc | 1 | ||||
-rw-r--r-- | usr.bin/dtc/dtb.cc | 4 | ||||
-rw-r--r-- | usr.bin/dtc/dtc.cc | 8 | ||||
-rw-r--r-- | usr.bin/dtc/fdt.cc | 6 | ||||
-rw-r--r-- | usr.bin/dtc/input_buffer.cc | 7 | ||||
-rw-r--r-- | usr.bin/dtc/string.cc | 2 |
6 files changed, 24 insertions, 4 deletions
diff --git a/usr.bin/dtc/checking.cc b/usr.bin/dtc/checking.cc index aff3752..5462a49 100644 --- a/usr.bin/dtc/checking.cc +++ b/usr.bin/dtc/checking.cc @@ -31,6 +31,7 @@ */ #include "checking.hh" +#include <stdio.h> namespace dtc { diff --git a/usr.bin/dtc/dtb.cc b/usr.bin/dtc/dtb.cc index 82ccc47..986ef6f 100644 --- a/usr.bin/dtc/dtb.cc +++ b/usr.bin/dtc/dtb.cc @@ -31,7 +31,11 @@ */ #include "dtb.hh" +#include <sys/types.h> #include <inttypes.h> +#include <stdio.h> +#include <unistd.h> + namespace dtc { diff --git a/usr.bin/dtc/dtc.cc b/usr.bin/dtc/dtc.cc index bf52813..cffb3eb 100644 --- a/usr.bin/dtc/dtc.cc +++ b/usr.bin/dtc/dtc.cc @@ -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" 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 diff --git a/usr.bin/dtc/input_buffer.cc b/usr.bin/dtc/input_buffer.cc index cd08dd3..2a483f3 100644 --- a/usr.bin/dtc/input_buffer.cc +++ b/usr.bin/dtc/input_buffer.cc @@ -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> diff --git a/usr.bin/dtc/string.cc b/usr.bin/dtc/string.cc index 2f617cc..283bafa 100644 --- a/usr.bin/dtc/string.cc +++ b/usr.bin/dtc/string.cc @@ -31,6 +31,8 @@ */ #include "string.hh" +#include <ctype.h> +#include <stdio.h> namespace { |