X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=zone.h;h=5fe3c63d19a43f8121aa66bdeeda62b8966730eb;hb=60f77488531e24be2442da573d6f69d6148ad18e;hp=5112acf0ab4b6260f804786c614c3cbbdd22c32c;hpb=a44a8e4cff906212f7ec4aa15a2addbeaa8dfe7a;p=xonotic%2Fdarkplaces.git diff --git a/zone.h b/zone.h index 5112acf0..5fe3c63d 100644 --- a/zone.h +++ b/zone.h @@ -21,7 +21,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef ZONE_H #define ZONE_H -extern qboolean mem_bigendian; +#include +#include "qtypes.h" +#include "qdefs.h" + +extern qbool mem_bigendian; // div0: heap overflow detection paranoia #define MEMPARANOIA 0 @@ -100,7 +104,7 @@ void _Mem_EmptyPool(mempool_t *pool, const char *filename, int fileline); void _Mem_CheckSentinels(void *data, const char *filename, int fileline); void _Mem_CheckSentinelsGlobal(const char *filename, int fileline); // if pool is NULL this searches ALL pools for the allocation -qboolean Mem_IsAllocated(mempool_t *pool, void *data); +qbool Mem_IsAllocated(mempool_t *pool, void *data); char* Mem_strdup (mempool_t *pool, const char* s);