]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
log: set GNU_SOURCE as it might help coverity along 3383/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 15 Apr 2020 13:55:57 +0000 (15:55 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 15 Apr 2020 13:55:57 +0000 (15:55 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/log.h

index d2806562413ec20dee5cf46484024cb339596912..881e97130dd7cee7176763295d5eb61fb9e9d9ee 100644 (file)
@@ -3,6 +3,9 @@
 #ifndef __LXC_LOG_H
 #define __LXC_LOG_H
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
 #include <errno.h>
 #include <stdarg.h>
 #include <stdio.h>