From dacf2ad2b3266e9877b82d0420fca67b0cba8615 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 6 Jul 2020 16:08:44 -0700 Subject: [PATCH] build: fix warning --- examples/app.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/app.c b/examples/app.c index abb45aa6..03adf85d 100644 --- a/examples/app.c +++ b/examples/app.c @@ -5,7 +5,9 @@ * to the capture from your application. */ -#define _GNU_SOURCE +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +#endif #ifdef __linux__ # include