
Signed-off-by: Clement Calmels <clement.calmels@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
---

 src/lxc/parse.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Index: lxc/src/lxc/parse.c
===================================================================
--- lxc.orig/src/lxc/parse.c
+++ lxc/src/lxc/parse.c
@@ -20,8 +20,10 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
-#include <string.h>
+#define _GNU_SOURCE
 #include <stdio.h>
+#undef _GNU_SOURCE
+#include <string.h>
 #include <stdlib.h>
 #include <errno.h>
 #include <dirent.h>



