Commit 88cd94a0ebe649e0b8d50be952e6330dc6071570

Ryan C. Gordon 2013-08-23T21:48:40

Patched to compile on FreeBSD.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/filesystem/unix/SDL_sysfilesystem.c b/src/filesystem/unix/SDL_sysfilesystem.c
index 1798f3e..659d126 100644
--- a/src/filesystem/unix/SDL_sysfilesystem.c
+++ b/src/filesystem/unix/SDL_sysfilesystem.c
@@ -29,6 +29,7 @@
 #include <stdlib.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <limits.h>
 
 #ifdef __FREEBSD__
 #include <sys/sysctl.h>