Browse Source

fix build for latest musl

pull/322/head
nillerusr 8 months ago
parent
commit
cd1c5bd397
  1. 2
      public/togl/linuxwin/glmdebug.h
  2. 2
      public/togles/linuxwin/glmdebug.h
  3. 1
      vgui2/src/system_posix.cpp

2
public/togl/linuxwin/glmdebug.h

@ -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.

2
public/togles/linuxwin/glmdebug.h

@ -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.

1
vgui2/src/system_posix.cpp

@ -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

Loading…
Cancel
Save