sigs.c: Suppress compiler warning
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
parent
f0ec3247bc
commit
e1bffdb52d
@ -37,6 +37,10 @@
|
|||||||
#ifndef _BSD_SOURCE
|
#ifndef _BSD_SOURCE
|
||||||
/* Needed for SIGWINCH on OpenBSD. */
|
/* Needed for SIGWINCH on OpenBSD. */
|
||||||
#define _BSD_SOURCE
|
#define _BSD_SOURCE
|
||||||
|
/* Silence compiler warning about _BSD_SOURCE being deprecated. */
|
||||||
|
#ifndef _DEFAULT_SOURCE
|
||||||
|
#define _DEFAULT_SOURCE
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __BSD_VISIBLE
|
#ifndef __BSD_VISIBLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user