Bundle <sys/queue.h> from NetBSD

We are bundling this to allow building on musl-based systems since musl
does not include <sys/queue.h>.
This commit is contained in:
Anthony G. Basile
2014-10-23 18:33:27 -04:00
committed by William Hubbs
parent ca6b86be44
commit 1e0a4bebde
21 changed files with 865 additions and 1 deletions

View File

@@ -28,6 +28,7 @@
* SUCH DAMAGE.
*/
#include "queue.h"
#include "librc.h"
#if defined(__linux__) || (defined (__FreeBSD_kernel__) && defined(__GLIBC__))

View File

@@ -30,6 +30,7 @@
#include <sys/utsname.h>
#include "queue.h"
#include "librc.h"
#define GENDEP RC_LIBEXECDIR "/sh/gendepends.sh"

View File

@@ -28,6 +28,7 @@
* SUCH DAMAGE.
*/
#include "queue.h"
#include "librc.h"
bool

View File

@@ -28,6 +28,7 @@
* SUCH DAMAGE.
*/
#include "queue.h"
#include "librc.h"
RC_STRINGLIST *

View File

@@ -30,6 +30,7 @@
const char librc_copyright[] = "Copyright (c) 2007-2008 Roy Marples";
#include "queue.h"
#include "librc.h"
#ifdef __FreeBSD__
# include <sys/sysctl.h>

View File

@@ -27,7 +27,6 @@
#define __RC_H__
#include <sys/types.h>
#include <sys/queue.h>
#include <stdbool.h>
#include <stdio.h>