瀏覽代碼

Fixed compiler warnings on FreeBSD.

Ryan C. Gordon 8 年之前
父節點
當前提交
c057f2d7dd
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/platform_unix.c

+ 4 - 0
src/platform_unix.c

@@ -47,6 +47,10 @@
 #include <sys/mnttab.h>
 #endif
 
+#if PHYSFS_PLATFORM_FREEBSD
+#include <sys/sysctl.h>
+#endif
+
 #include "physfs_internal.h"
 
 int __PHYSFS_platformInit(void)