xbps.h: drop requirement of sys/queue.h.

This commit is contained in:
Juan RP 2013-12-16 08:59:11 +01:00
parent 67cfc4ebad
commit e64227b617

View File

@ -27,7 +27,6 @@
#ifndef _XBPS_API_H_ #ifndef _XBPS_API_H_
#define _XBPS_API_H_ #define _XBPS_API_H_
#include <sys/queue.h>
#include <stdio.h> #include <stdio.h>
#include <inttypes.h> #include <inttypes.h>
@ -47,7 +46,7 @@
* *
* This header documents the full API for the XBPS Library. * This header documents the full API for the XBPS Library.
*/ */
#define XBPS_API_VERSION "20131216" #define XBPS_API_VERSION "20131216-1"
#ifndef XBPS_VERSION #ifndef XBPS_VERSION
#define XBPS_VERSION "UNSET" #define XBPS_VERSION "UNSET"
@ -1111,7 +1110,9 @@ struct xbps_repo {
/** /**
* @private * @private
*/ */
SIMPLEQ_ENTRY(xbps_repo) entries; struct {
struct xbps_repo *sqe_next; /* next element */
} entries;
struct archive *ar; struct archive *ar;
/** /**
* @var xhp * @var xhp