From 65bbd3a951f52085fcfa6a07fd2fefb56bf9c8d0 Mon Sep 17 00:00:00 2001 From: Frederic Cambus Date: Fri, 30 Oct 2015 21:02:10 +0100 Subject: [PATCH] Added _BSD_SOURCE define to allow compiling on OpenBSD --- src/nyancat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nyancat.c b/src/nyancat.c index 7ec1119..a9a1f1a 100644 --- a/src/nyancat.c +++ b/src/nyancat.c @@ -51,6 +51,7 @@ #define _XOPEN_SOURCE 500 #define _DARWIN_C_SOURCE 1 +#define _BSD_SOURCE #define __BSD_VISIBLE 1 #include #include