From: Christian Brauner Date: Wed, 15 Apr 2020 13:55:57 +0000 (+0200) Subject: log: set GNU_SOURCE as it might help coverity along X-Git-Tag: lxc-5.0.0~449^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10cb59b300bde6ff5fac6c3c8545698fcaa2b5d;p=thirdparty%2Flxc.git log: set GNU_SOURCE as it might help coverity along Signed-off-by: Christian Brauner --- 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