fix build for latest musl

This commit is contained in:
nillerusr 2023-11-08 13:26:46 +00:00
parent 9fbed1af34
commit 84a7a117b6
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