]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/tools/lxc_info.c
tree-wide: fix includes to fix bionic builds
[mirror_lxc.git] / src / lxc / tools / lxc_info.c
index 16369b720193f5396309b00094912b6db24fbe1d..07303366c0adbd198a3296a704d722ce6fe1b0c5 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
 #include <libgen.h>
 #include <limits.h>
 #include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <unistd.h>
 #include <sys/types.h>
+#include <unistd.h>
 
 #include <lxc/lxccontainer.h>
 
 #include "arguments.h"
+#include "config.h"
 #include "log.h"
 #include "utils.h"