aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vis.c b/vis.c
index 05bcb40..f0b9e11 100644
--- a/vis.c
+++ b/vis.c
@@ -14,6 +14,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#define _POSIX_SOURCE
+/* Necessary for SIGWINCH on OpenBSD */
+#define _BSD_SOURCE
#include <locale.h>
#include <stdlib.h>
#include <unistd.h>