X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=libs%2Fgtkutil%2Fglfont.cpp;h=afe8546e7c8dd00305c8b0b43935c875fedf7687;hb=19c67e1114f894604c3346fe1af9b015184328be;hp=09211a05450d3bd103dfb691ff8e6bfb9b04dde2;hpb=b7e36c120eb1546a6c6f97f30e42ab7f9a559c61;p=xonotic%2Fnetradiant.git diff --git a/libs/gtkutil/glfont.cpp b/libs/gtkutil/glfont.cpp index 09211a05..afe8546e 100644 --- a/libs/gtkutil/glfont.cpp +++ b/libs/gtkutil/glfont.cpp @@ -20,6 +20,7 @@ */ #include "glfont.h" +#include "globaldefs.h" #include "igl.h" // generic string printing with call lists @@ -50,7 +51,7 @@ virtual int getPixelHeight() const { } }; -#ifdef _WIN32 +#if GDEF_OS_WINDOWS #include #endif #include "debugging/debugging.h" @@ -174,6 +175,7 @@ GLFont *glfont_create( const char* font_string ){ // new font code ripped from ZeroRadiant #include +#include #include class GLFontInternal : public GLFont