[lxc-devel] [lxd/master] shared/idmap: Fix xattr.h import

monstermunchkin on Github lxc-bot at linuxcontainers.org
Mon Aug 6 14:59:02 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 355 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180806/91257bca/attachment.bin>
-------------- next part --------------
From 908c900d9f61bcea2832951907fbb76340def120 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Mon, 6 Aug 2018 16:56:57 +0200
Subject: [PATCH] shared/idmap: Fix xattr.h import

Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
 shared/idmap/shift_linux.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shared/idmap/shift_linux.go b/shared/idmap/shift_linux.go
index 1899ec873f..920789a4c8 100644
--- a/shared/idmap/shift_linux.go
+++ b/shared/idmap/shift_linux.go
@@ -27,7 +27,7 @@ import (
 #include <sys/acl.h>
 
 // Needs to be included at the end
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 
 #ifndef VFS_CAP_REVISION_1
 #define VFS_CAP_REVISION_1 0x01000000


More information about the lxc-devel mailing list