summaryrefslogtreecommitdiff
path: root/textproc/diction/patches/patch-af
blob: 527052d3722f369101ffbadb353f30581e7c0bc9 (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
$NetBSD: patch-af,v 1.1 2007/12/04 00:57:41 bjs Exp $

--- style.c.orig	2007-08-09 09:45:54.000000000 -0400
+++ style.c
@@ -40,11 +40,18 @@ with this program.  If not, write to the
 #define _(String) String
 #endif
 #include <math.h>
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h>
+#include <nbcompat/cdefs.h>
+#include <nbcompat/getopt.h>
+#include <nbcompat/stdio.h>
+#else
+#include <getopt.h>
 #include <stdio.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 
-#include "getopt.h"
 #include "misc.h"
 #include "sentence.h"
 /*}}}*/