forked from enlightenment/enlightenment
malloc.h - bsd does not like me including it...
This commit is contained in:
parent
1e2d589b14
commit
bac870bf61
|
@ -104,8 +104,10 @@ void *alloca (size_t);
|
||||||
# include <execinfo.h>
|
# include <execinfo.h>
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef HAVE_MALLOC_H
|
# if !defined (__FreeBSD__) && !defined (__OpenBSD__)
|
||||||
# include <malloc.h>
|
# ifdef HAVE_MALLOC_H
|
||||||
|
# include <malloc.h>
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
// XXX: FIXME: TMP solution for window stack until api is settled
|
// XXX: FIXME: TMP solution for window stack until api is settled
|
||||||
|
|
|
@ -66,8 +66,10 @@ void *alloca (size_t);
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
# include <assert.h>
|
# include <assert.h>
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
# ifdef HAVE_MALLOC_H
|
# if !defined (__FreeBSD__) && !defined (__OpenBSD__)
|
||||||
# include <malloc.h>
|
# ifdef HAVE_MALLOC_H
|
||||||
|
# include <malloc.h>
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#if defined (__FreeBSD__) || defined (__OpenBSD__)
|
#if defined (__FreeBSD__) || defined (__OpenBSD__)
|
||||||
|
|
Loading…
Reference in New Issue