]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
we can move the <glib.h> include a bit more then
authorRudolf Polzer <divverent@alientrap.org>
Sun, 8 Aug 2010 14:42:40 +0000 (16:42 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 8 Aug 2010 14:42:40 +0000 (16:42 +0200)
tools/quake3/common/vfs.c
tools/quake3/common/vfs.h

index 547ee70a960ab3f2b272b5b10f2a896d60252869..b1e8391a7a7515204005b57c4c7f64f564cedc73 100644 (file)
@@ -47,7 +47,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #include "cmdlib.h"
 #include "mathlib.h"
-#include <glib.h>
 #include "inout.h"
 #include "vfs.h"
 #include "unzip.h"
index 004402bf0323df4b557ee1361c099bf3d5ad0e23..93731a1ed4a5753db56874917cbf8001abc9d19c 100644 (file)
@@ -34,7 +34,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 // to get PATH_MAX
 #include <stdio.h>
 #if defined (__linux__) || defined (__APPLE__)
-#include <glib.h>
 #include <dirent.h>
 #include <unistd.h>
 #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 <glib.h>
 
 #define VFS_MAXDIRS 64