Skip to content

Commit d5cad4a

Browse files
committed
- linux compile fix
1 parent 43832ee commit d5cad4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src_rebuild/utils/fs.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "fs.h"
22

3-
#include <string>
4-
#include <cassert>
3+
#include <string.h>
4+
#include <assert.h>
55

66
#ifdef _WIN32
77

@@ -24,6 +24,7 @@ void FS_FixPathSlashes(char* pathbuff)
2424

2525
#include <sys/stat.h>
2626
#include <glob.h> // glob(), globfree()
27+
#include <malloc.h>
2728

2829
void FS_FixPathSlashes(char* pathbuff)
2930
{

0 commit comments

Comments
 (0)