miniupnpc/minissdpc.c: tries to fix compilation issue with FreeBSD 10.2

see #151
This commit is contained in:
Thomas Bernard 2015-08-29 11:05:32 +02:00
parent b7654b557f
commit f68edea0fa

View File

@ -8,6 +8,7 @@
/*#include <syslog.h>*/ /*#include <syslog.h>*/
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <strings.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
@ -41,6 +42,7 @@ struct sockaddr_un {
#else /* defined(_WIN32) || defined(__amigaos__) || defined(__amigaos4__) */ #else /* defined(_WIN32) || defined(__amigaos__) || defined(__amigaos4__) */
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/param.h> #include <sys/param.h>
#include <sys/time.h>
#include <sys/un.h> #include <sys/un.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>