$NetBSD: patch-ab,v 1.1 2007/12/04 00:57:39 bjs Exp $

--- diction.c.orig	2007-07-30 16:42:41.000000000 -0400
+++ diction.c
@@ -35,13 +35,21 @@ 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/getopt.h>
+#include <nbcompat/regex.h>
+#include <nbcompat/stdio.h>
+#else
+#include <getopt.h>
 #include <regex.h>
 #include <stdio.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 
-#include "getopt.h"
 #include "misc.h"
 #include "sentence.h"
 /*}}}*/
