[lxc-devel] [lxcfs/master] tests: include missing sys/sysmacros.h header

brauner on Github lxc-bot at linuxcontainers.org
Sun Aug 26 10:24:35 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 365 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180826/ecc2ea49/attachment.bin>
-------------- next part --------------
From a95d68e5ffad31961140e8fcafa156f794e32bb9 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Sun, 26 Aug 2018 12:23:31 +0200
Subject: [PATCH] tests: include missing sys/sysmacros.h header

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 tests/test_syscalls.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_syscalls.c b/tests/test_syscalls.c
index 8561cfc..5a9f951 100644
--- a/tests/test_syscalls.c
+++ b/tests/test_syscalls.c
@@ -3,6 +3,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/sysmacros.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <linux/un.h>


More information about the lxc-devel mailing list