]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/storage/nbd.c
tree-wide: fix includes to fix bionic builds
[mirror_lxc.git] / src / lxc / storage / nbd.c
index 4c3ff51efae4afe4586ba294e5c53383bba4d8d5..cc2289426c332b3237a1e7a7cc16f071b725c6e0 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 <errno.h>
 #include <stdbool.h>
 #include <stdint.h>
@@ -31,6 +33,7 @@
 #include <sys/prctl.h>
 #include <sys/wait.h>
 
+#include "config.h"
 #include "log.h"
 #include "nbd.h"
 #include "storage.h"