]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
log: fix includes
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 3 Sep 2021 14:10:44 +0000 (16:10 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 3 Sep 2021 15:28:15 +0000 (17:28 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/log.h

index 8ee5f9862322528173216183d17c4c16fcbe9d35..b3aecf9cbca00bd28ec39a421a7873b2e2db458a 100644 (file)
@@ -3,9 +3,8 @@
 #ifndef __LXC_LOG_H
 #define __LXC_LOG_H
 
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE 1
-#endif
+#include "config.h"
+
 #include <errno.h>
 #include <stdarg.h>
 #include <stdio.h>
@@ -18,7 +17,6 @@
 
 #include "compiler.h"
 #include "conf.h"
-#include "config.h"
 
 #ifndef O_CLOEXEC
 #define O_CLOEXEC 02000000