mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
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 <[email protected]>
Obtained from: CheriBSD
(cherry picked from commit 1c44d2bf86)
This commit is contained in:
1 parent
643b3b382d
commit
fd01963cc3
2 files changed
+2
-1
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user