$OpenBSD: patch-src_nyancat_c,v 1.3 2014/10/16 15:48:58 sthen Exp $
--- src/nyancat.c.orig	Thu May  1 19:14:53 2014
+++ src/nyancat.c	Thu Oct 16 16:46:09 2014
@@ -50,6 +50,7 @@
  */
 
 #define _XOPEN_SOURCE 500
+#define _BSD_SOURCE
 #include <ctype.h>
 #include <stdio.h>
 #include <stdint.h>
@@ -591,6 +592,8 @@ int main(int argc, char ** argv) {
 		ttype = 6; /* No color support */
 	} else if (strstr(term, "fallback")) {
 		ttype = 4; /* Unicode fallback */
+	} else if (strstr(term, "rxvt-256color")) {
+		ttype = 1; /* xterm-256color compatible */
 	} else if (strstr(term, "rxvt")) {
 		ttype = 3; /* Accepts LINUX mode */
 	} else if (strstr(term, "vt100") && terminal_width == 40) {
