openbsd-ports/editors/xemacs20/patches/patch-aj

17 lines
522 B
Plaintext

--- src/unexec.c.orig Wed Dec 18 23:44:05 1996
+++ src/unexec.c Mon May 4 12:55:15 1998
@@ -294,11 +294,11 @@
#ifndef HPUX
/* not sure where this for NetBSD should really go
and it probably applies to other systems */
-#if !defined(__NetBSD__) && !defined(__bsdi__)
+#if !defined(__NetBSD__) && !defined(__bsdi__) && !defined(__OpenBSD__)
extern void *sbrk (ptrdiff_t);
#else
extern char *sbrk ();
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ or __OpenBSD__ */
#endif /* HPUX */
#else
extern void *sbrk ();