summaryrefslogtreecommitdiff
path: root/src/test/test-signal-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-09-24 14:27:21 +0200
committerSven Eden <yamakuzure@gmx.net>2017-11-22 08:22:23 +0100
commit68bb1246bf0dc56f61b6d655694ddd4df647167c (patch)
treed3ec4ecc37c903334f496981f12ead2973836c2f /src/test/test-signal-util.c
parente0e02387f7dfc8ab4f415212264666476fc4a21f (diff)
fileio: return 0 from read_one_line_file on success
Fixup for f4b51a2d09. Suggested by Evgeny Vereshchagin.
Diffstat (limited to 'src/test/test-signal-util.c')
-rw-r--r--src/test/test-signal-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test-signal-util.c b/src/test/test-signal-util.c
index 1830396ac..0db8a1e32 100644
--- a/src/test/test-signal-util.c
+++ b/src/test/test-signal-util.c
@@ -21,8 +21,9 @@
#include <unistd.h>
#include "macro.h"
-#include "process-util.h"
#include "signal-util.h"
+/// Additional includes needed by elogind
+#include "process-util.h"
static void test_block_signals(void) {
sigset_t ss;