diff --git a/src/sigs.c b/src/sigs.c index 4f5d982..4cc01bf 100644 --- a/src/sigs.c +++ b/src/sigs.c @@ -34,6 +34,16 @@ * */ +#ifndef _BSD_SOURCE +/* Needed for SIGWINCH on OpenBSD. */ +#define _BSD_SOURCE +#endif + +#ifndef __BSD_VISIBLE +/* Needed for SIGWINCH on FreeBSD. */ +#define __BSD_VISIBLE 1 +#endif + #include #include #include