void-packages/srcpkgs/mame/patches/musl-bgfx.patch
2017-01-25 07:14:54 +01:00

12 lines
378 B
Diff

--- 3rdparty/bgfx/src/bgfx.cpp 2017-01-24 23:44:30.000000000 +0100
+++ 3rdparty/bgfs/src/bgfx.cpp 2017-01-25 06:24:41.519845947 +0100
@@ -4,6 +4,9 @@
*/
#include <bx/platform.h>
+#if !defined(__GLIBC__)
+#include <stddef.h>
+#endif
#if BX_PLATFORM_WINDOWS
// BK - Remotery needs WinSock, but on VS2015/Win10 build
// fails if WinSock2 is included after Windows.h?!