mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 16:47:02 +02:00
14 lines
443 B
Diff
14 lines
443 B
Diff
There is no <error.h> in musl libc, thus enable the
|
|
include only if __GLIB__ is defined.
|
|
|
|
--- a/3rdparty/iaxclient/lib/libiax2/src/iax.c
|
|
+++ b/3rdparty/iaxclient/lib/libiax2/src/iax.c
|
|
@@ -75,7 +75,7 @@
|
|
// FlightGear: Modified to include FreeBSD
|
|
#if !defined(MACOSX) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
|
|
#include <malloc.h>
|
|
-#if !defined(SOLARIS)
|
|
+#if !defined(SOLARIS) && defined(__GLIBC__)
|
|
#include <error.h>
|
|
#endif
|
|
#endif
|