From 262fce3f7d37646e2d8937a20e2967bbf3c167cf Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Mon, 21 May 2018 23:45:14 +0800 Subject: events: Switch to _DEFAULT_SOURCE glibc version 2.27 warns that _BSD_SOURCE is deprecated in favour of _DEFAULT _SOURCE: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" Fix the source code accordingly. Signed-off-by: Paul Elder Signed-off-by: Laurent Pinchart --- events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'events.c') diff --git a/events.c b/events.c index 90d81c3..cc6c6cd 100644 --- a/events.c +++ b/events.c @@ -12,7 +12,7 @@ * Contact: Laurent Pinchart */ -#define _BSD_SOURCE +#define _DEFAULT_SOURCE #include #include #include -- cgit v1.2.3