Merge pull request #39 from rofl0r/master

get rid of bsd sys/queue.h dependency
This commit is contained in:
Thomas BERNARD 2014-10-25 21:56:33 +02:00
commit c68c435827
3 changed files with 1 additions and 9 deletions

View File

@ -78,7 +78,7 @@ OBJS = $(patsubst %.c,%.o,$(SRCS))
HEADERS = miniupnpc.h miniwget.h upnpcommands.h igd_desc_parse.h \
upnpreplyparse.h upnperrors.h miniupnpctypes.h \
portlistingparse.h \
declspec.h
declspec.h bsdqueue.h
# library names
LIBRARY = libminiupnpc.a

View File

@ -11,11 +11,7 @@
/* for the definition of UNSIGNED_INTEGER */
#include "miniupnpctypes.h"
#if defined(NO_SYS_QUEUE_H) || defined(_WIN32) || defined(__HAIKU__)
#include "bsdqueue.h"
#else
#include <sys/queue.h>
#endif
#ifdef __cplusplus
extern "C" {

View File

@ -8,11 +8,7 @@
#ifndef UPNPREPLYPARSE_H_INCLUDED
#define UPNPREPLYPARSE_H_INCLUDED
#if defined(NO_SYS_QUEUE_H) || defined(_WIN32) || defined(__HAIKU__)
#include "bsdqueue.h"
#else
#include <sys/queue.h>
#endif
#ifdef __cplusplus
extern "C" {