]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/state.c
tree-wide: fix includes to fix bionic builds
[mirror_lxc.git] / src / lxc / state.c
index d8a8dab2599abc6885d27da8f783aa7c2ba2251e..b3e6f83f8b2209d7aa015a8113e7bc316a71408a 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 <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <time.h>
-#include <unistd.h>
 #include <sys/file.h>
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <time.h>
+#include <unistd.h>
 
 #include "cgroup.h"
 #include "commands.h"