The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3383

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From b10cb59b300bde6ff5fac6c3c8545698fcaa2b5d Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
Date: Wed, 15 Apr 2020 15:55:57 +0200
Subject: [PATCH] log: set GNU_SOURCE as it might help coverity along

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
---
 src/lxc/log.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lxc/log.h b/src/lxc/log.h
index d280656241..881e97130d 100644
--- a/src/lxc/log.h
+++ b/src/lxc/log.h
@@ -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>
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to