From 2c35a5ceeebf5f33e5ef7b7ed1265c495af6fa75 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 2 Mar 2010 17:19:43 +0000 Subject: [PATCH] typedef sighandler_t to fix compile on Mac. From Darshan Shaligram git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@528 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- ttyplay.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ttyplay.c b/ttyplay.c index b47cec0..e13e169 100644 --- a/ttyplay.c +++ b/ttyplay.c @@ -58,6 +58,10 @@ #include "io.h" #include "stripgfx.h" +#ifdef __MACH__ +typedef void (*sighandler_t)(int); +#endif + int stripped = NO_GRAPHICS; static int got_sigwinch = 0;