summaryrefslogtreecommitdiff
path: root/textproc/diction/patches/patch-ad
blob: 1d382553b32fd63d52263882471bea5d15ff0515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ad,v 1.1 2007/12/04 00:57:40 bjs Exp $

--- sentence.c.orig	2007-08-09 09:00:25.000000000 -0400
+++ sentence.c
@@ -40,8 +40,15 @@ with this program.  If not, write to the
 #else
 #define _(String) String
 #endif
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h>
+#include <nbcompat/cdefs.h>
+#include <nbcompat/regex.h>
+#include <nbcompat/stdio.h>
+#else
 #include <regex.h>
 #include <stdio.h>
+#endif
 #include <stdlib.h>
 #include <string.h>