chiark / gitweb /
journalctl: various fixes to the access check logic
[elogind.git] / src / journal / journal-gatewayd.c
index dfec8352bb91e3092bba134f22dc8c01251a89f9..8161b7e56bffd26a9b77150d45b1238baae540f1 100644 (file)
@@ -35,6 +35,7 @@
 #include "microhttpd-util.h"
 #include "virt.h"
 #include "build.h"
+#include "fileio.h"
 
 typedef struct RequestMeta {
         sd_journal *journal;
@@ -109,7 +110,6 @@ static int open_journal(RequestMeta *m) {
         return sd_journal_open(&m->journal, SD_JOURNAL_LOCAL_ONLY|SD_JOURNAL_SYSTEM_ONLY);
 }
 
-
 static int respond_oom_internal(struct MHD_Connection *connection) {
         struct MHD_Response *response;
         const char m[] = "Out of memory.\n";