pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:1:   /*   || 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   #define GLOBAL_H      #if defined(__WINNT__) && !defined(__NT__)   #define __NT__   #endif      #ifndef _LARGEFILE_SOURCE
pike.git/src/global.h:130:   #include <stdlib.h>   #undef HAVE_STDLIB_H   #endif      #ifdef HAVE_STDDEF_H   #include <stddef.h>   #undef HAVE_STDDEF_H   #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      #ifdef HAVE_UNISTD_H   #include <unistd.h>   #undef HAVE_UNISTD_H   #endif      #ifdef HAVE_STRING_H   #include <string.h>