Skip to content
This repository was archived by the owner on Mar 28, 2021. It is now read-only.

Commit cae8bac

Browse files
committed
Include sys/stat.h for mkdir() on FreeBSD as well
1 parent 6e11938 commit cae8bac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/physica.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "SDL/SDL_syswm.h"//Includes SDL window manager
1616
#endif
1717

18-
#ifdef __linux__
18+
#if defined(__linux__) || defined(__FreeBSD__)
1919
#include <sys/stat.h>//Includes linux header
2020
#endif
2121

@@ -2136,4 +2136,4 @@ void win32_init(int argc, char* argv[]){
21362136
SetClassLong(hwnd, GCL_HICON, (LONG) icon);
21372137
}
21382138

2139-
#endif
2139+
#endif

0 commit comments

Comments
 (0)