void-packages/srcpkgs/cura-engine/patches/musl-execinfo-header.patch
2017-09-24 20:42:53 -07:00

14 lines
338 B
Diff

diff --git src/main.cpp src/main.cpp
--- src/main.cpp
+++ src/main.cpp
@@ -5,7 +5,9 @@
#include <sys/time.h>
#include <signal.h>
#if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__))
-#include <execinfo.h>
+ #if defined(__GLIBC__)
+ # include <execinfo.h>
+ #endif
#include <sys/resource.h>
#endif
#include <stddef.h>