Branch: Tag:

2003-04-16

2003-04-16 18:03:12 by Xavier Beaudouin <kiwi@oav.net>

Avoid include <malloc.h> on OpenBSD as well.

Rev: src/dlopen.c:1.70
Rev: src/global.h:1.88

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: global.h,v 1.87 2003/04/15 18:19:13 nilsson Exp $ + || $Id: global.h,v 1.88 2003/04/16 18:03:12 kiwi Exp $   */      #ifndef GLOBAL_H
137:   #endif      #ifdef HAVE_MALLOC_H - #if !defined(__FreeBSD__) - /* FreeBSD has <malloc.h>, but it just contains a warning... */ + #if !defined(__FreeBSD__) || !defined(__OpenBSD__) + /* FreeBSD and OpenBSD has <malloc.h>, but it just contains a warning... */   #include <malloc.h> - #endif /* !__FreeBSD__ */ + #endif /* !__FreeBSD__ || !__OpenBSD */   #undef HAVE_MALLOC_H   #endif