From 1e0a4bebdefd06af09ba8f2459287d3ca28f89d7 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Thu, 23 Oct 2014 18:33:27 -0400 Subject: Bundle from NetBSD We are bundling this to allow building on musl-based systems since musl does not include . --- src/librc/librc-daemon.c | 1 + src/librc/librc-depend.c | 1 + src/librc/librc-misc.c | 1 + src/librc/librc-stringlist.c | 1 + src/librc/librc.c | 1 + src/librc/rc.h.in | 1 - 6 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/librc') 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 +#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 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 -#include #include #include -- cgit v1.2.3