From: Rudolf Polzer Date: Sun, 8 Aug 2010 14:42:40 +0000 (+0200) Subject: we can move the include a bit more then X-Git-Tag: xonotic-v0.5.0~235 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2ddfb486e9d93908ce8288b74ccf3314c9f175bf;p=xonotic%2Fnetradiant.git we can move the include a bit more then --- diff --git a/tools/quake3/common/vfs.c b/tools/quake3/common/vfs.c index 547ee70a..b1e8391a 100644 --- a/tools/quake3/common/vfs.c +++ b/tools/quake3/common/vfs.c @@ -47,7 +47,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "cmdlib.h" #include "mathlib.h" -#include #include "inout.h" #include "vfs.h" #include "unzip.h" diff --git a/tools/quake3/common/vfs.h b/tools/quake3/common/vfs.h index 004402bf..93731a1e 100644 --- a/tools/quake3/common/vfs.h +++ b/tools/quake3/common/vfs.h @@ -34,7 +34,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // to get PATH_MAX #include #if defined (__linux__) || defined (__APPLE__) -#include #include #include #else @@ -44,6 +43,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define S_ISDIR(mode) (mode & _S_IFDIR) #define PATH_MAX 260 #endif +#include #define VFS_MAXDIRS 64