[lxc-devel] [lxc/master] attach: fix missing pthread.h include
brauner on Github
lxc-bot at linuxcontainers.org
Mon Oct 8 15:24:06 UTC 2018
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181008/b8adb069/attachment.bin>
-------------- next part --------------
From 0bece47700a1451e2d2094911475ea312379e72f Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Mon, 8 Oct 2018 17:20:08 +0200
Subject: [PATCH] attach: fix missing pthread.h include
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
src/lxc/attach.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lxc/attach.c b/src/lxc/attach.c
index e46d742c5..9464d882e 100644
--- a/src/lxc/attach.c
+++ b/src/lxc/attach.c
@@ -29,6 +29,7 @@
#include <grp.h>
#include <linux/unistd.h>
#include <pwd.h>
+#include <pthread.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
More information about the lxc-devel
mailing list