From cd1c5bd39769e253e279dd524bf770be371e82b0 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Wed, 8 Nov 2023 13:26:46 +0000 Subject: [PATCH] fix build for latest musl --- public/togl/linuxwin/glmdebug.h | 2 -- public/togles/linuxwin/glmdebug.h | 2 -- vgui2/src/system_posix.cpp | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/public/togl/linuxwin/glmdebug.h b/public/togl/linuxwin/glmdebug.h index 08cb6f91..f6fe410d 100644 --- a/public/togl/linuxwin/glmdebug.h +++ b/public/togl/linuxwin/glmdebug.h @@ -25,9 +25,7 @@ #define GLMDEBUG_H #include "tier0/platform.h" -#if defined( OSX ) #include -#endif // include this anywhere you need to be able to compile-out code related specifically to GLM debugging. diff --git a/public/togles/linuxwin/glmdebug.h b/public/togles/linuxwin/glmdebug.h index f73e28a1..1b443d06 100644 --- a/public/togles/linuxwin/glmdebug.h +++ b/public/togles/linuxwin/glmdebug.h @@ -25,9 +25,7 @@ #define GLMDEBUG_H #include "tier0/platform.h" -#if defined( OSX ) #include -#endif // include this anywhere you need to be able to compile-out code related specifically to GLM debugging. diff --git a/vgui2/src/system_posix.cpp b/vgui2/src/system_posix.cpp index 9473d416..d6877dea 100644 --- a/vgui2/src/system_posix.cpp +++ b/vgui2/src/system_posix.cpp @@ -32,6 +32,7 @@ #include #include #elif defined(LINUX) +#define _LARGEFILE64_SOURCE #include #endif #ifdef OSX