summaryrefslogtreecommitdiff
path: root/graphics/xfractint/files/patch-unix__unixscr.c
blob: 277ec387b4600864a6fc1057be695fd9563a86d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- unix/unixscr.c.orig	2015-08-09 13:46:52 UTC
+++ unix/unixscr.c
@@ -54,7 +54,7 @@
 #define FNDELAY O_NDELAY
 #endif
 #endif
-#ifdef __SVR4
+#if defined (__SVR4) || defined(__FreeBSD__)
 # include <sys/filio.h>
 # define FNDELAY O_NONBLOCK
 #endif
@@ -337,7 +337,7 @@ UnixInit()
     initdacbox();
 
     if (!simple_input) {
-	  signal(SIGINT,(SignalHandler)goodbye);
+	  signal(SIGINT,(sig_t)goodbye);
     }
     signal(SIGFPE, fpe_handler);
     /*