From 7b8904b272978021787aeba747a9d595938097f4 Mon Sep 17 00:00:00 2001 From: "Alexey N. Vinogradov" Date: Mon, 12 Feb 2018 17:00:44 +0700 Subject: [PATCH] Closes #16, broken build on mac --- rastertozj.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rastertozj.c b/rastertozj.c index 44afe7f..06d1a60 100644 --- a/rastertozj.c +++ b/rastertozj.c @@ -118,7 +118,7 @@ inline int getOptionChoiceIndex(const char * choiceName, ppd_file_t * ppd) } -inline void initializeSettings(char * commandLineOptionSettings) +void initializeSettings(char * commandLineOptionSettings) { ppd_file_t * ppd = NULL; cups_option_t * options = NULL; @@ -166,6 +166,10 @@ void ShutDown() } // sent at the end of every page +#ifndef __sighandler_t +typedef void (*__sighandler_t) (int); +#endif + __sighandler_t old_signal; void EndPage() {