]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/storage/storage_utils.c
tree-wide: fix includes to fix bionic builds
[mirror_lxc.git] / src / lxc / storage / storage_utils.c
index da1ed7fcc0afe9ec0a897bf4163fac358b4cef3e..36a62a11e92c2ae277d3afb9fa3a2c9bcc037835 100644 (file)
@@ -21,7 +21,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
 #include <ctype.h>
 #include <dirent.h>
 #include <errno.h>
 #include <stdint.h>
 #include <stdio.h>
 #include <string.h>
-#include <unistd.h>
 #include <sys/mount.h>
 #include <sys/prctl.h>
-#include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/types.h>
 #include <sys/wait.h>
+#include <unistd.h>
 
+#include "config.h"
 #include "log.h"
 #include "nbd.h"
 #include "parse.h"