chiark / gitweb /
journald: add missing include
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 13 Oct 2012 16:09:09 +0000 (16:09 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 13 Oct 2012 16:09:09 +0000 (16:09 +0000)
./src/journal/journald.h:123:114: warning: ‘struct ucred’ declared inside parameter list [enabled by default]

src/journal/journald.h

index cd06b40..25e7ec3 100644 (file)
@@ -22,8 +22,9 @@
 ***/
 
 #include <inttypes.h>
-#include <sys/types.h>
 #include <stdbool.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 
 #include "journal-file.h"
 #include "hashmap.h"