Merge pull request #39 from rofl0r/master
get rid of bsd sys/queue.h dependency
This commit is contained in:
commit
c68c435827
|
@ -78,7 +78,7 @@ OBJS = $(patsubst %.c,%.o,$(SRCS))
|
||||||
HEADERS = miniupnpc.h miniwget.h upnpcommands.h igd_desc_parse.h \
|
HEADERS = miniupnpc.h miniwget.h upnpcommands.h igd_desc_parse.h \
|
||||||
upnpreplyparse.h upnperrors.h miniupnpctypes.h \
|
upnpreplyparse.h upnperrors.h miniupnpctypes.h \
|
||||||
portlistingparse.h \
|
portlistingparse.h \
|
||||||
declspec.h
|
declspec.h bsdqueue.h
|
||||||
|
|
||||||
# library names
|
# library names
|
||||||
LIBRARY = libminiupnpc.a
|
LIBRARY = libminiupnpc.a
|
||||||
|
|
|
@ -11,11 +11,7 @@
|
||||||
/* for the definition of UNSIGNED_INTEGER */
|
/* for the definition of UNSIGNED_INTEGER */
|
||||||
#include "miniupnpctypes.h"
|
#include "miniupnpctypes.h"
|
||||||
|
|
||||||
#if defined(NO_SYS_QUEUE_H) || defined(_WIN32) || defined(__HAIKU__)
|
|
||||||
#include "bsdqueue.h"
|
#include "bsdqueue.h"
|
||||||
#else
|
|
||||||
#include <sys/queue.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -8,11 +8,7 @@
|
||||||
#ifndef UPNPREPLYPARSE_H_INCLUDED
|
#ifndef UPNPREPLYPARSE_H_INCLUDED
|
||||||
#define UPNPREPLYPARSE_H_INCLUDED
|
#define UPNPREPLYPARSE_H_INCLUDED
|
||||||
|
|
||||||
#if defined(NO_SYS_QUEUE_H) || defined(_WIN32) || defined(__HAIKU__)
|
|
||||||
#include "bsdqueue.h"
|
#include "bsdqueue.h"
|
||||||
#else
|
|
||||||
#include <sys/queue.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
Loading…
Reference in New Issue