diff options
| author | Anthony G. Basile <blueness@gentoo.org> | 2014-10-23 18:33:27 -0400 | 
|---|---|---|
| committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-10-23 19:14:06 -0500 | 
| commit | 1e0a4bebdefd06af09ba8f2459287d3ca28f89d7 (patch) | |
| tree | 718f36a41ec7f19a9ed7d654f949fd3e6a89a960 /src/librc | |
| parent | ca6b86be44fc7ed618a7ab3bd021e208d38878b1 (diff) | |
| download | openrc-1e0a4bebdefd06af09ba8f2459287d3ca28f89d7.tar.xz | |
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>.
Diffstat (limited to 'src/librc')
| -rw-r--r-- | src/librc/librc-daemon.c | 1 | ||||
| -rw-r--r-- | src/librc/librc-depend.c | 1 | ||||
| -rw-r--r-- | src/librc/librc-misc.c | 1 | ||||
| -rw-r--r-- | src/librc/librc-stringlist.c | 1 | ||||
| -rw-r--r-- | src/librc/librc.c | 1 | ||||
| -rw-r--r-- | src/librc/rc.h.in | 1 | 
6 files changed, 5 insertions, 1 deletions
| diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c index d19c3a33..190a0146 100644 --- a/src/librc/librc-daemon.c +++ b/src/librc/librc-daemon.c @@ -28,6 +28,7 @@   * SUCH DAMAGE.   */ +#include "queue.h"  #include "librc.h"  #if defined(__linux__) || (defined (__FreeBSD_kernel__) && defined(__GLIBC__)) diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c index c9df4513..d7a8ae14 100644 --- a/src/librc/librc-depend.c +++ b/src/librc/librc-depend.c @@ -30,6 +30,7 @@  #include <sys/utsname.h> +#include "queue.h"  #include "librc.h"  #define GENDEP          RC_LIBEXECDIR "/sh/gendepends.sh" diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c index b907c5c4..2e9de801 100644 --- a/src/librc/librc-misc.c +++ b/src/librc/librc-misc.c @@ -28,6 +28,7 @@   * SUCH DAMAGE.   */ +#include "queue.h"  #include "librc.h"  bool diff --git a/src/librc/librc-stringlist.c b/src/librc/librc-stringlist.c index 1a59335c..bf8d3f40 100644 --- a/src/librc/librc-stringlist.c +++ b/src/librc/librc-stringlist.c @@ -28,6 +28,7 @@   * SUCH DAMAGE.   */ +#include "queue.h"  #include "librc.h"  RC_STRINGLIST * diff --git a/src/librc/librc.c b/src/librc/librc.c index d7a4849a..ca51aa61 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -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> diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index fca0dda1..62119e9f 100644 --- a/src/librc/rc.h.in +++ b/src/librc/rc.h.in @@ -27,7 +27,6 @@  #define __RC_H__  #include <sys/types.h> -#include <sys/queue.h>  #include <stdbool.h>  #include <stdio.h> | 
