Skip to content

Commit 4505f9b

Browse files
Add missing include of limit
Allows compilation with g++ as it brings numeric_limits in scope.
1 parent 26cf1ab commit 4505f9b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/benchmark.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
#if defined(__AVR__)
77
#include "avr_type_helpers.h"
88
#else
9-
#include <type_traits>
109
#include <algorithm>
10+
#include <limits>
11+
#include <type_traits>
1112
#endif
1213

1314
#define UNUSED(x) (void)(x)

test/fast_div_generator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <iostream>
55
#include <sstream>
66
#include <iomanip>
7+
#include <limits>
78
#include <string>
89
#include <type_traits>
910
#include <algorithm>

0 commit comments

Comments
 (0)