Skip to content

Commit

Permalink
log: set GNU_SOURCE as it might help coverity along
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Apr 15, 2020
1 parent 47649d5 commit b10cb59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lxc/log.h
Expand Up @@ -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>
Expand Down

0 comments on commit b10cb59

Please sign in to comment.