X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Fjournal-gatewayd.c;h=8161b7e56bffd26a9b77150d45b1238baae540f1;hb=3ac251b81a41295a90c89c164f0d72ce6de651aa;hp=dfec8352bb91e3092bba134f22dc8c01251a89f9;hpb=c3a7cfb7dee251cab01e98a399e7d2a0f787b6b9;p=elogind.git diff --git a/src/journal/journal-gatewayd.c b/src/journal/journal-gatewayd.c index dfec8352b..8161b7e56 100644 --- a/src/journal/journal-gatewayd.c +++ b/src/journal/journal-gatewayd.c @@ -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";