diff src/unexec.c @ 286:57709be46d1b r21-0b41

Import from CVS: tag r21-0b41
author cvs
date Mon, 13 Aug 2007 10:35:03 +0200
parents ac2d302a0011
children 19dcec799385
line wrap: on
line diff
--- a/src/unexec.c	Mon Aug 13 10:34:15 2007 +0200
+++ b/src/unexec.c	Mon Aug 13 10:35:03 2007 +0200
@@ -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 ();