[lxc-devel] [PATCH 2/8] Use the standard 'unsigned int' instead or non-standard 'uint'

Natanael Copa ncopa at alpinelinux.org
Wed Jan 29 14:23:44 UTC 2014


This fixes compile error when build with musl libc:
conf.h:92:2: error: unknown type name 'uint'
  uint   fmask;
  ^

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
---
 src/lxc/conf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lxc/conf.h b/src/lxc/conf.h
index a0ce3f7..cd4b115 100644
--- a/src/lxc/conf.h
+++ b/src/lxc/conf.h
@@ -88,8 +88,8 @@ struct ifla_veth {
 };
 
 struct ifla_vlan {
-	uint   flags;
-	uint   fmask;
+	unsigned int   flags;
+	unsigned int   fmask;
 	unsigned short   vid;
 	unsigned short   pad;
 };
-- 
1.8.5.3



More information about the lxc-devel mailing list