[systemd-devel] [PATCH] shared: add missing include

Marc-Antoine Perennou Marc-Antoine at Perennou.com
Wed Dec 11 20:56:13 PST 2013


Needed for socketpair, recv
---
 src/shared/logs-show.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index c99fc75..0e3fd3d 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -23,6 +23,7 @@
 #include <assert.h>
 #include <errno.h>
 #include <sys/poll.h>
+#include <sys/socket.h>
 #include <string.h>
 #include <fcntl.h>
 
-- 
1.8.5.1



More information about the systemd-devel mailing list