Quellcode durchsuchen

Fixed compiler warnings on FreeBSD.

Ryan C. Gordon vor 8 Jahren
Ursprung
Commit
c057f2d7dd
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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)