From 1d8a582ebdad152aad9995699cb1cb53788a034e Mon Sep 17 00:00:00 2001 From: annonymouse Date: Wed, 17 Sep 2014 18:52:18 +0100 Subject: [PATCH] Added __BSD_VISIBLE 1 to allow compiling on FreeBSD. This includes SIGWINCH on FreeBSD. Still compiles succesfully on OSX (Mavericks) and Ubuntu 12.04 LTS --- src/nyancat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nyancat.c b/src/nyancat.c index 311627f..7ec1119 100644 --- a/src/nyancat.c +++ b/src/nyancat.c @@ -51,6 +51,7 @@ #define _XOPEN_SOURCE 500 #define _DARWIN_C_SOURCE 1 +#define __BSD_VISIBLE 1 #include #include #include