Skip to content

Commit ea702c0

Browse files
jacobkahnjacobkahn
authored and
jacobkahn
committed
Fix gcc/g++ >= 7 and Apple LLVM >= 9 builds
Summary: gcc/g++ >= 7 and Apple LLVM >= 9 builds failed because of missing includes. Reviewed By: andresy Differential Revision: D13545106 fbshipit-source-id: aa2bb67e8484ab85fb7801e18de0d4449fbdcf85
1 parent a9ebe7c commit ea702c0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

flashlight/dataset/Dataset.h

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#pragma once
99

1010
#include <cstring>
11+
#include <functional>
1112
#include <memory>
1213
#include <vector>
1314

tests/nn/ModuleTest.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
#include <array>
9+
810
#include <gtest/gtest.h>
911

1012
#include <flashlight/autograd/autograd.h>

0 commit comments

Comments
 (0)