aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/librc-daemon.c1
-rw-r--r--src/librc/librc-depend.c1
-rw-r--r--src/librc/librc-misc.c1
-rw-r--r--src/librc/librc-stringlist.c1
-rw-r--r--src/librc/librc.c1
-rw-r--r--src/librc/rc.h.in1
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>