aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-14 12:52:21 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-14 12:52:32 -0600
commitf5e06bc55ab1717ddff8c21f00f48cfcba8cb4a7 (patch)
tree9b0c6da31da1dcbbbb7a32f30ad1825410e52666 /src/rc
parente7ae08c38d4753d8d54a4ed60ca98794d85aadd9 (diff)
include rc.h properly in source files
We were attempting to include rc.h in rc-misc.h instead of the source files where it should be included.
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/_usage.c1
-rw-r--r--src/rc/checkpath.c1
-rw-r--r--src/rc/do_value.c1
-rw-r--r--src/rc/is_newer_than.c1
-rw-r--r--src/rc/is_older_than.c1
-rw-r--r--src/rc/swclock.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/src/rc/_usage.c b/src/rc/_usage.c
index f0c7f0fc..9fc3e5d8 100644
--- a/src/rc/_usage.c
+++ b/src/rc/_usage.c
@@ -13,6 +13,7 @@
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
+#include "rc.h"
#include "rc-misc.h"
#include "_usage.h"
#include "version.h"
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index c44ffe8d..b1509940 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -30,6 +30,7 @@
#include <unistd.h>
#include "einfo.h"
+#include "rc.h"
#include "rc-misc.h"
#include "rc-selinux.h"
#include "_usage.h"
diff --git a/src/rc/do_value.c b/src/rc/do_value.c
index a511afd9..e6aa3ef0 100644
--- a/src/rc/do_value.c
+++ b/src/rc/do_value.c
@@ -28,6 +28,7 @@
#include <unistd.h>
#include "einfo.h"
+#include "rc.h"
#include "rc-misc.h"
const char *applet = NULL;
diff --git a/src/rc/is_newer_than.c b/src/rc/is_newer_than.c
index f1aa9d61..4093ea82 100644
--- a/src/rc/is_newer_than.c
+++ b/src/rc/is_newer_than.c
@@ -15,6 +15,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include "rc.h"
#include "rc-misc.h"
int main(int argc, char **argv)
diff --git a/src/rc/is_older_than.c b/src/rc/is_older_than.c
index 87d56414..aea5377e 100644
--- a/src/rc/is_older_than.c
+++ b/src/rc/is_older_than.c
@@ -15,6 +15,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include "rc.h"
#include "rc-misc.h"
int main(int argc, char **argv)
diff --git a/src/rc/swclock.c b/src/rc/swclock.c
index 4b62a460..8245f116 100644
--- a/src/rc/swclock.c
+++ b/src/rc/swclock.c
@@ -30,6 +30,7 @@
#include <utime.h>
#include "einfo.h"
+#include "rc.h"
#include "rc-misc.h"
#include "_usage.h"