Ticket #53602: src_assuan-socket_INADDR_LOOPBACK.patch
File src_assuan-socket_INADDR_LOOPBACK.patch, 476 bytes (added by ballapete (Peter "Pete" Dyballa), 8 years ago) |
---|
-
src/assuan-socket.c
old new 35 35 # include <sys/types.h> 36 36 # include <sys/socket.h> 37 37 # include <netinet/in.h> 38 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050 /* or 1060, when Leopard, Mac OS X 10.6, needs it also */ 39 #define INADDR_LOOPBACK (u_int32_t)0x7f000001 40 #endif /* __MAC_OS_X_VERSION_MIN_REQUIRED < 1050 */ 38 41 # include <arpa/inet.h> 39 42 #endif 40 43 #include <errno.h>