summaryrefslogtreecommitdiff
path: root/src/examples/eldbus/connect-address.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-29 13:10:14 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-02 10:34:47 +0100
commit3be5126b35dd6dea017bec4a3e2420bd535c54f7 (patch)
treef0358159340fab57afc529e37dfbc82df8051d5e /src/examples/eldbus/connect-address.c
parentd7f43c6018b3f8be3053281c279681278fe269f1 (diff)
examples: fix warnings regarding multiple defines
compiling them stand alone still defines the correct definitions
Diffstat (limited to 'src/examples/eldbus/connect-address.c')
-rw-r--r--src/examples/eldbus/connect-address.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/eldbus/connect-address.c b/src/examples/eldbus/connect-address.c
index 242960ea3d..236a9b69ea 100644
--- a/src/examples/eldbus/connect-address.c
+++ b/src/examples/eldbus/connect-address.c
@@ -21,8 +21,9 @@
21 */ 21 */
22 22
23#include <stdlib.h> 23#include <stdlib.h>
24 24#ifndef _GNU_SOURCE
25#define _GNU_SOURCE 25# define _GNU_SOURCE
26#endif
26#include <signal.h> 27#include <signal.h>
27 28
28#include "Eldbus.h" 29#include "Eldbus.h"