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

Commit

Permalink
Include sys/stat.h for mkdir() on FreeBSD as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Feb 28, 2013
1 parent 6e11938 commit cae8bac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/physica.h
Expand Up @@ -15,7 +15,7 @@
#include "SDL/SDL_syswm.h"//Includes SDL window manager
#endif

#ifdef __linux__
#if defined(__linux__) || defined(__FreeBSD__)
#include <sys/stat.h>//Includes linux header
#endif

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

#endif
#endif

0 comments on commit cae8bac

Please sign in to comment.