diff --git a/src/lib/stb/stb_vorbis.c b/src/lib/stb/stb_vorbis.c index 9a39dfdc..b13ee3eb 100644 --- a/src/lib/stb/stb_vorbis.c +++ b/src/lib/stb/stb_vorbis.c @@ -236,7 +236,7 @@ #if defined(_MSC_VER) || defined(__MINGW32__) #include #endif - #if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__NEWLIB__) + #if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__NEWLIB__) || defined(__APPLE__) #include #endif #else // STB_VORBIS_NO_CRT diff --git a/src/modules/graphics/opengl.c b/src/modules/graphics/opengl.c index 38c0cfe3..5f97c2ae 100644 --- a/src/modules/graphics/opengl.c +++ b/src/modules/graphics/opengl.c @@ -2624,9 +2624,9 @@ Shader* lovrShaderCreateGraphics(const char* vertexSource, int vertexSourceLengt #else const char* version = "#version 330\n"; const char* computeExtensions = state.features.compute ? - "#extension GL_ARB_shader_storage_buffer_object : enable \n" - "#extension GL_ARB_shader_image_load_store : enable \n" : - NULL; + "#extension GL_ARB_shader_storage_buffer_object : enable\n" + "#extension GL_ARB_shader_image_load_store : enable\n" : + ""; #endif const char* singlepass[2] = { "", "" };