summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-config.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-25 19:10:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:54 +0100
commitcfed79e853100948cc14e4af034108400f4e4d6d (patch)
tree836cc1b66b9a226f98ee949badf82e13eb43fbb4 /ctl-lib/ctl-config.h
parentaf1069d393d97857a2fd6e5ac6eb55dae1af4716 (diff)
Avoid duplicated _GNU_SOURCE definition warning
Change-Id: I2b805a60b67db1a72b429093256999673e2c3964 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-config.h')
-rw-r--r--ctl-lib/ctl-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctl-lib/ctl-config.h b/ctl-lib/ctl-config.h
index f7eb44c..a7b07b5 100644
--- a/ctl-lib/ctl-config.h
+++ b/ctl-lib/ctl-config.h
@@ -21,7 +21,9 @@
#ifndef _CTL_CONFIG_INCLUDE_
#define _CTL_CONFIG_INCLUDE_
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include "ctl-plugin.h"
#include <filescan-utils.h>