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

--- sentence.h.orig	2007-07-30 16:44:18.000000000 -0400
+++ sentence.h
@@ -25,7 +25,13 @@ with this program.  If not, write to the
 #define SENTENCE_H
 
 #include <sys/types.h>
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h>
+#include <nbcompat/cdefs.h>
+#include <nbcompat/stdio.h>
+#else
 #include <stdio.h>
+#endif
 
 int endingInPossesiveS(const char *s, size_t length);
 void sentence(const char *cmd, FILE *in, const char *file, void (*process)(const char *, size_t, const char *, int), const char *lang);