openbsd-ports/textproc/antiword/patches/patch-main_u_c
2005-04-05 21:34:50 +00:00

13 lines
388 B
Plaintext

$OpenBSD: patch-main_u_c,v 1.1 2005/04/05 21:34:50 fgsch Exp $
--- main_u.c.orig Tue Mar 22 16:45:47 2005
+++ main_u.c Tue Mar 22 16:48:39 2005
@@ -29,7 +29,7 @@
#include <fcntl.h>
#include <io.h>
#endif /* __dos */
-#if defined(__STDC_ISO_10646__)
+#if defined(__STDC_ISO_10646__) || defined(__OpenBSD__)
#include <locale.h>
#endif /* __STDC_ISO_10646__ */
#if defined(N_PLAT_NLM)