summaryrefslogtreecommitdiff
path: root/mail/imap-uw/patches/patch-ai
blob: b518c7e3686e390063fc81211964ae4c7b902e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ai,v 1.5 2007/08/03 17:03:30 obache Exp $

--- src/mtest/mtest.c.orig	2007-06-05 20:32:31.000000000 +0000
+++ src/mtest/mtest.c
@@ -41,6 +41,11 @@
 
 /* Excellent reasons to hate ifdefs, and why my real code never uses them */
 
+#if defined(__NetBSD__)		/* NetBSD no longer defines unix. */
+# undef unix
+# define unix 1
+#endif
+
 #ifndef unix
 # define unix 0
 #endif