textproc/iiimf-server: build error fix

PR:		ports/96345
Submitted by:	maintainer
This commit is contained in:
Daichi GOTO 2006-04-26 10:22:18 +00:00
parent 8538f72fa5
commit 1ad19d44c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160508

View file

@ -0,0 +1,12 @@
--- iiimsf/lib/iml/fop.c.orig Wed Apr 26 11:16:43 2006
+++ iiimsf/lib/iml/fop.c Wed Apr 26 11:22:55 2006
@@ -995,7 +995,9 @@
break;
case F_SETFD:
case F_SETFL:
+#if __BSD_VISIBLE || __XSI_VISIBLE || __POSIX_VISIBLE >= 200112
case F_SETOWN:
+#endif
arg_int = va_arg(ap, int);
rv = func(fopc, file->value, cmd, arg_int);
break;