[lxc-devel] [PATCH] fix gcc complaint about undefined assert()

Dwight Engen dwight.engen at oracle.com
Tue Feb 18 17:52:21 UTC 2014


Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
---
 src/lxc/lxc_attach.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c
index fc8e3ba..3fbcb82 100644
--- a/src/lxc/lxc_attach.c
+++ b/src/lxc/lxc_attach.c
@@ -22,6 +22,7 @@
  */
 
 #define _GNU_SOURCE
+#include <assert.h>
 #include <sys/wait.h>
 #include <sys/types.h>
 #include <stdlib.h>
-- 
1.8.5.3



More information about the lxc-devel mailing list