diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-01-26 22:10:07 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-01-26 22:10:07 +0100 |
commit | e1bffdb52daa50468d2b730a51d1717cafb70705 (patch) | |
tree | 1e5027d2b8f0cd882a1aa8c0cfb8337811b82b1e | |
parent | f0ec3247bc1b9cd857d3bb00cf8f85d965342f23 (diff) | |
download | calcurse-e1bffdb52daa50468d2b730a51d1717cafb70705.zip |
sigs.c: Suppress compiler warning
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r-- | src/sigs.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |