From b10cb59b300bde6ff5fac6c3c8545698fcaa2b5d Mon Sep 17 00:00:00 2001 From: Christian Brauner 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 --- src/lxc/log.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc/log.h b/src/lxc/log.h index d28065624..881e97130 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 #include #include -- 2.47.2