fix build for latest musl

This commit is contained in:
nillerusr 2023-11-08 13:26:46 +00:00
parent b8558de63e
commit cd1c5bd397
3 changed files with 1 additions and 4 deletions

View File

@ -25,9 +25,7 @@
#define GLMDEBUG_H #define GLMDEBUG_H
#include "tier0/platform.h" #include "tier0/platform.h"
#if defined( OSX )
#include <stdarg.h> #include <stdarg.h>
#endif
// include this anywhere you need to be able to compile-out code related specifically to GLM debugging. // include this anywhere you need to be able to compile-out code related specifically to GLM debugging.

View File

@ -25,9 +25,7 @@
#define GLMDEBUG_H #define GLMDEBUG_H
#include "tier0/platform.h" #include "tier0/platform.h"
#if defined( OSX )
#include <stdarg.h> #include <stdarg.h>
#endif
// include this anywhere you need to be able to compile-out code related specifically to GLM debugging. // include this anywhere you need to be able to compile-out code related specifically to GLM debugging.

View File

@ -32,6 +32,7 @@
#include <sys/param.h> #include <sys/param.h>
#include <sys/mount.h> #include <sys/mount.h>
#elif defined(LINUX) #elif defined(LINUX)
#define _LARGEFILE64_SOURCE
#include <sys/vfs.h> #include <sys/vfs.h>
#endif #endif
#ifdef OSX #ifdef OSX