Skip to content

Commit 69eeeb3

Browse files
committed
fix linux build
1 parent cef251b commit 69eeeb3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/nav/LeafNavMesh.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#include "Fgd.h"
1212
#include "globals.h"
1313
#include <queue>
14+
#include <algorithm>
15+
#include <limits.h>
1416

1517
LeafNode::LeafNode() {
1618
links.clear();

src/nav/LeafNavMeshGenerator.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "util.h"
99
#include "LeafOctree.h"
1010
#include <algorithm>
11+
#include <float.h>
1112

1213
LeafNavMesh* LeafNavMeshGenerator::generate(Bsp* map, int hull) {
1314
float NavMeshGeneratorGenStart = glfwGetTime();

0 commit comments

Comments
 (0)