aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sblim-sfcc/sockaddr-arg.patch
blob: 03b1bf75d8cead3fe44a7f91862b13905c2a9dde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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