$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"
 /*}}}*/
