From e1bffdb52daa50468d2b730a51d1717cafb70705 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 26 Jan 2016 22:10:07 +0100 Subject: sigs.c: Suppress compiler warning Signed-off-by: Lukas Fleischer --- src/sigs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sigs.c b/src/sigs.c index c9fde84..6a006c3 100644 --- a/src/sigs.c +++ b/src/sigs.c @@ -37,6 +37,10 @@ #ifndef _BSD_SOURCE /* Needed for SIGWINCH on OpenBSD. */ #define _BSD_SOURCE +/* Silence compiler warning about _BSD_SOURCE being deprecated. */ +#ifndef _DEFAULT_SOURCE +#define _DEFAULT_SOURCE +#endif #endif #ifndef __BSD_VISIBLE -- cgit v1.2.3-54-g00ecf