summaryrefslogtreecommitdiff
path: root/src/grp-journal/grp-remote/systemd-journal-remote
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-01 16:33:32 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-01 16:33:32 -0400
commit272b48187cee0b42b6e936ad2c045f13b391f3ad (patch)
tree383049270ccbac5040e4404bbe71ac49d0c423db /src/grp-journal/grp-remote/systemd-journal-remote
parent46277a7844c854210eaa0a3612fa297ec33ddb7b (diff)
find src \( -name '*.h' -o -name '*.c' \) -type f -exec ./fixup_includes {} \;
Diffstat (limited to 'src/grp-journal/grp-remote/systemd-journal-remote')
-rw-r--r--src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-parse.c5
-rw-r--r--src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.c1
-rw-r--r--src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.h2
-rw-r--r--src/grp-journal/grp-remote/systemd-journal-remote/journal-remote.h3
4 files changed, 7 insertions, 4 deletions
diff --git a/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-parse.c b/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-parse.c
index ec5358fb97..c71fedd816 100644
--- a/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-parse.c
+++ b/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-parse.c
@@ -19,10 +19,11 @@
#include "basic/alloc-util.h"
#include "basic/fd-util.h"
-#include "journal-remote-parse.h"
-#include "journald-native.h"
#include "basic/parse-util.h"
#include "basic/string-util.h"
+#include "journald-native.h"
+
+#include "journal-remote-parse.h"
#define LINE_CHUNK 8*1024u
diff --git a/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.c b/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.c
index 82292fd240..4e05eda103 100644
--- a/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.c
+++ b/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.c
@@ -18,6 +18,7 @@
***/
#include "basic/alloc-util.h"
+
#include "journal-remote.h"
int iovw_put(struct iovec_wrapper *iovw, void* data, size_t len) {
diff --git a/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.h b/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.h
index 53ba45fc04..a61434ca75 100644
--- a/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.h
+++ b/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote-write.h
@@ -19,7 +19,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "journal-file.h"
+#include "sd-journal/journal-file.h"
typedef struct RemoteServer RemoteServer;
diff --git a/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote.h b/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote.h
index 2e8d5999b0..6abfc1019d 100644
--- a/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote.h
+++ b/src/grp-journal/grp-remote/systemd-journal-remote/journal-remote.h
@@ -22,9 +22,10 @@
#include <systemd/sd-event.h>
#include "basic/hashmap.h"
+#include "microhttpd-util.h"
+
#include "journal-remote-parse.h"
#include "journal-remote-write.h"
-#include "microhttpd-util.h"
typedef struct MHDDaemonWrapper MHDDaemonWrapper;