Index: unix/net_udp.c =================================================================== --- unix/net_udp.c (revision 877) +++ unix/net_udp.c (working copy) @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include Index: unix/q_shunix.c =================================================================== --- unix/q_shunix.c (revision 877) +++ unix/q_shunix.c (working copy) @@ -152,13 +152,6 @@ mkdir (path, 0777); } -char *strlwr (char *s) -{ - while (*s) { - *s = tolower(*s); - s++; - } -} //============================================ Index: game/q_shared.h =================================================================== --- game/q_shared.h (revision 877) +++ game/q_shared.h (working copy) @@ -39,6 +39,7 @@ #include #include #include +#include #if (defined _M_IX86 || defined __i386__) && !defined C_ONLY && !defined __sun__ #define id386 1 @@ -253,6 +254,8 @@ int Q_strnicmp (const char *string1, const char *string2, int n); //============================================= +char *Q_strlwr(char *s); + short BigShort(short l); short LittleShort(short l); int BigLong (int l); Index: qcommon/files.c =================================================================== --- qcommon/files.c (revision 877) +++ qcommon/files.c (working copy) @@ -19,6 +19,7 @@ */ #include "qcommon.h" +#include "../unix/glob.h" // define this to dissalow any data but the demo pak file //#define NO_ADDONS Index: client/menu.c =================================================================== --- client/menu.c (revision 877) +++ client/menu.c (working copy) @@ -24,6 +24,7 @@ #ifdef __unix__ #include +#include #endif #ifdef _WIN32 Index: ref_gl/r_main.c =================================================================== --- ref_gl/r_main.c (revision 877) +++ ref_gl/r_main.c (working copy) @@ -1659,10 +1659,10 @@ Com_Printf ("GL_EXTENSIONS: %s\n", gl_config.extensions_string ); strcpy( renderer_buffer, gl_config.renderer_string ); - strlwr( renderer_buffer ); + Q_strlwr( renderer_buffer ); strcpy( vendor_buffer, gl_config.vendor_string ); - strlwr( vendor_buffer ); + Q_strlwr( vendor_buffer ); if ( strstr( renderer_buffer, "voodoo" ) ) { Index: ref_gl/r_script.h =================================================================== --- ref_gl/r_script.h (revision 877) +++ ref_gl/r_script.h (working copy) @@ -160,9 +160,7 @@ void RS_FreeUnmarked(void); rscript_t *RS_FindScript(char *name); void RS_ReadyScript(rscript_t *rs); -#ifdef _WINDOWS void RS_ScanPathForScripts(void); -#endif int RS_Animate(rs_stage_t *stage); void RS_UpdateRegistration(void); void RS_DrawSurface (msurface_t *surf, qboolean lightmap);