[lxc-devel] [ruby-lxc/master] Fix build with LXC 3.0

aither64 on Github lxc-bot at linuxcontainers.org
Thu Apr 12 18:33:34 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 795 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180412/e1e5ffe2/attachment.bin>
-------------- next part --------------
From 0eb378c2914b0a345d3aa321b1a63011dede6150 Mon Sep 17 00:00:00 2001
From: Jakub Skokan <jakub.skokan at havefun.cz>
Date: Thu, 12 Apr 2018 12:29:36 +0200
Subject: [PATCH] Fix build with LXC 3.0

---
 ext/lxc/lxc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ext/lxc/lxc.c b/ext/lxc/lxc.c
index b45a141..b0ec634 100644
--- a/ext/lxc/lxc.c
+++ b/ext/lxc/lxc.c
@@ -6,6 +6,7 @@
 #include <signal.h>
 #include <stdint.h>
 #include <string.h>
+#include <errno.h>
 
 #define SYMBOL(s) ID2SYM(rb_intern(s))
 


More information about the lxc-devel mailing list