p3dlib.c: include “cmdlib.h” on non Windows platform
[xonotic/netradiant.git] / tools / quake3 / q3data / p3dlib.c
index 2da1ae9..0b228e2 100644 (file)
 #define MAX_POLYSETS 64
 
 #if defined ( __linux__ ) || defined ( __APPLE__ )
-#define _strcmpi Q_stricmp
-#define filelength Q_filelength
-#define strlwr strlower
+       #include "cmdlib.h"
+       #define _strcmpi Q_stricmp
+       #define filelength Q_filelength
+       #define strlwr strlower
 #endif
 typedef struct
 {