]> git.proxmox.com Git - mirror_lxc.git/commitdiff
remove warning in parse.c:80
authorClement Calmels <clement.calmels@fr.ibm.com>
Mon, 18 Jan 2010 22:08:12 +0000 (23:08 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 18 Jan 2010 22:08:12 +0000 (23:08 +0100)
Signed-off-by: Clement Calmels <clement.calmels@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/parse.c

index 0ae21e0ed8220f98e8daead69bfd05f23a6b9178..ee6b5de8361760e7805f1b41bb501870cac1ad73 100644 (file)
  * 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>