freebsd-ports/x11-toolkits/xview/files/patch-lq
Patrick Li 40ec9cb1db Add patch to fix mmap function prototype being redefined even for OS's with
an mmap implementation

PR:		ports/41093
Submitted by:	Adam Weinberger <adam@vectors.cx>
2002-08-01 02:50:41 +00:00

12 lines
329 B
Text

--- lib/libxview/misc/gettext.c.orig Sun Jul 28 17:07:43 2002
+++ lib/libxview/misc/gettext.c Sun Jul 28 17:08:14 2002
@@ -13,7 +13,9 @@
char * dgettext(), *bindtextdomain();
char *_gettext();
char *fgets(), *getenv();
+#ifndef OS_HAS_MMAP
caddr_t mmap();
+#endif
static struct domain_binding *firstbind=0, *lastbind=0;