X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-namespace.c;h=084a58f3aa108dc6361cc8da9ea282f41cbccf0e;hb=7e26029ff36d6112bd8c3273327c97708f9ee61e;hp=5b76b9e73ffddaaafe2f3a4f9dc6a4db885a838b;hpb=6b46ea73e3b1d8a1e65f58ac04772821bd4a72fb;p=elogind.git
diff --git a/src/test/test-namespace.c b/src/test/test-namespace.c
index 5b76b9e73..084a58f3a 100644
--- a/src/test/test-namespace.c
+++ b/src/test/test-namespace.c
@@ -19,7 +19,6 @@
along with systemd; If not, see .
***/
-#include
#include
#include "namespace.h"
@@ -63,7 +62,7 @@ static void test_tmpdir(const char *id, const char *A, const char *B) {
}
static void test_netns(void) {
- _cleanup_close_pipe_ int s[2] = { -1, -1 };
+ _cleanup_close_pair_ int s[2] = { -1, -1 };
pid_t pid1, pid2, pid3;
int r, n = 0;
siginfo_t si;