usr.bin/dtc: Include <limits> for std::numeric_limits<>.
This is needed when building natively as a cross-tool on hosts such as Linux using more recent versions of libstdc++. Co-authored-by: Alexander Richardson <arichardson@FreeBSD.org> Obtained from: CheriBSD
This commit is contained in:
parent
3491ed652e
commit
1c44d2bf86
@ -38,6 +38,7 @@
|
||||
#include "dtb.hh"
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
|
||||
#include <ctype.h>
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "input_buffer.hh"
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -44,6 +43,7 @@
|
||||
#ifndef NDEBUG
|
||||
#include <iostream>
|
||||
#endif
|
||||
#include <limits>
|
||||
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
Loading…
Reference in New Issue
Block a user