From 7b859a9b143fb9ea73b3b84950665bfa280a9372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 6 May 2019 14:52:36 +0200 Subject: Fix compilation warnings. In commit f6573cb7 memmem() call is introduced which is a GNU extension, which need to be enabled explicitely, otherwise the compiler will trigger a warning. This patch enables globally the usage of GNU extensions. --- src/sysdeps.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sysdeps.h b/src/sysdeps.h index ba8bd5fd..f4d83c10 100644 --- a/src/sysdeps.h +++ b/src/sysdeps.h @@ -37,10 +37,12 @@ #endif /* ANDROID */ +#define _GNU_SOURCE 1 +#include + #include #include #include -#include #include #include -- cgit v1.2.1