Fix compilation error in upnp/src/inc/ssdplib.h when compiling in OS X
(the netinet/* headers are not available). Patch submitted by Chandra (inactiveneurons).
This commit is contained in:
parent
b8e9628140
commit
934bd2682f
@ -2,6 +2,12 @@
|
|||||||
Version 1.6.7
|
Version 1.6.7
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
|
2010-09-07 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||||
|
Fix compilation error in upnp/src/inc/ssdplib.h when compiling in OS X
|
||||||
|
(the netinet/* headers are not available).
|
||||||
|
|
||||||
|
Patch submitted by Chandra (inactiveneurons).
|
||||||
|
|
||||||
2010-09-07 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
2010-09-07 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||||
Fix compilation error in ixml/inc/ixml.h when compiling with an
|
Fix compilation error in ixml/inc/ixml.h when compiling with an
|
||||||
Objective-C compiler (when cross-compiling for iPhone devices).
|
Objective-C compiler (when cross-compiling for iPhone devices).
|
||||||
|
@ -47,15 +47,17 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#else
|
#else /* WIN32 */
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in_systm.h>
|
#ifndef __APPLE__
|
||||||
#include <netinet/ip.h>
|
#include <netinet/in_systm.h>
|
||||||
#include <netinet/ip_icmp.h>
|
#include <netinet/ip.h>
|
||||||
|
#include <netinet/ip_icmp.h>
|
||||||
|
#endif /* __APPLE__ */
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#endif
|
#endif /* WIN32 */
|
||||||
|
|
||||||
|
|
||||||
/* Enumeration to define all different types of ssdp searches */
|
/* Enumeration to define all different types of ssdp searches */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user