ports/net/kamailio/files/patch-ip__addr.h
Kurt Jaeger 1edd9b3372 net/kamailio: 4.2.4 -> 4.3.1
Release-Notes: http://www.kamailio.org/w/kamailio-v4-3-0-release-notes/
New features: http://www.kamailio.org/wiki/features/new-in-4.3.x

- tries to fix installation issues with non-default options
- adds WEBSOCKET option

PR:		200352
2015-09-05 21:48:31 +00:00

13 lines
400 B
C

--- ip_addr.h.orig 2015-09-05 21:17:34 UTC
+++ ip_addr.h
@@ -53,6 +53,10 @@ enum comp_methods { COMP_NONE, COMP_SIGC
#define INADDR_LOOPBACK (u_int32_t)0x7f000001
#endif
+#ifndef INADDR_LOOPBACK
+#define INADDR_LOOPBACK (u_int32_t)0x7f000001
+#endif
+
struct ip_addr{
unsigned int af; /* address family: AF_INET6 or AF_INET */
unsigned int len; /* address len, 16 or 4 */