1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/sblim-sfcc/sockaddr-arg.patch
2019-03-16 17:59:51 +00:00

13 lines
448 B
Diff

diff --git a/backend/cimxml/indicationlistener.c b/backend/cimxml/indicationlistener.c
index 0d7d9fe..3be0bb7 100755
--- a/backend/cimxml/indicationlistener.c
+++ b/backend/cimxml/indicationlistener.c
@@ -36,7 +36,7 @@ static int do_listen=1;
#define hdrBufsize 5000
#define hdrLimmit 5000
-#ifdef __APPLE__
+#if defined(__APPLE__) || (defined(__linux__) && !defined(__GLIBC__))
# define __SOCKADDR_ARG struct sockaddr *__restrict
#endif