Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 src/lxc/utmp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lxc/utmp.c b/src/lxc/utmp.c
index 16d1b5d..f32ed63 100644
--- a/src/lxc/utmp.c
+++ b/src/lxc/utmp.c
@@ -42,7 +42,9 @@
 #include "lxc.h"
 #include "log.h"
 
+#ifndef __USE_GNU
 #define __USE_GNU
+#endif
 #include <utmpx.h>
 #undef __USE_GNU
 
-- 
1.8.0


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to