summaryrefslogtreecommitdiff
path: root/mail/metamail/patches/patch-ab
blob: 7f5067bd3c1a8ce4d2165a3eadf1bcff1c109caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- config.h.orig	Wed Nov 24 15:36:07 1993
+++ config.h	Wed Nov 19 12:58:17 1997
@@ -65,6 +65,12 @@
 #endif
 #endif
 
+/* agc - test for 4.4 BSD-derived systems properly */
+#include <sys/param.h>
+#if (defined(BSD) && BSD >= 199306)
+#define __BSD_4_4__
+#endif
+
 /* NOTE:  The RESET_PROGRAM resets the terminal to a "normal" state 
    If you comment out the definition, all will be well except that metamail's
    -R switch won't work, and metamail-called programs might be more likely
@@ -155,7 +161,11 @@
 #ifdef NeXT
 #define sigtype void
 #else
+#if defined(__BSD_4_4__)
+#define sigtype void
+#else
 #define sigtype int
+#endif
 #endif
 #endif