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:
committed by
William Hubbs
parent
ca6b86be44
commit
1e0a4bebde
@@ -28,6 +28,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "queue.h"
|
||||
#include "librc.h"
|
||||
|
||||
#if defined(__linux__) || (defined (__FreeBSD_kernel__) && defined(__GLIBC__))
|
||||
|
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <sys/utsname.h>
|
||||
|
||||
#include "queue.h"
|
||||
#include "librc.h"
|
||||
|
||||
#define GENDEP RC_LIBEXECDIR "/sh/gendepends.sh"
|
||||
|
@@ -28,6 +28,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "queue.h"
|
||||
#include "librc.h"
|
||||
|
||||
bool
|
||||
|
@@ -28,6 +28,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "queue.h"
|
||||
#include "librc.h"
|
||||
|
||||
RC_STRINGLIST *
|
||||
|
@@ -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>
|
||||
|
@@ -27,7 +27,6 @@
|
||||
#define __RC_H__
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/queue.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
Reference in New Issue
Block a user