[pypy-issue] [issue1637] FreeBSD: alloc.h header missing

Tobias Oberstein tracker at bugs.pypy.org
Sun Nov 17 17:04:54 CET 2013


New submission from Tobias Oberstein <tobias.oberstein at gmail.com>:

FreeBSD has alloca() defined in stdlib.h, not alloc.h.

Various tests (mostly cffi related) fail due to this.

Hence we should add something like the following to all respective locations:

#ifdef __FreeBSD__
# include <stdlib.h>
#else
# include <alloca.h>
#endif

----------
assignedto: oberstet
messages: 6344
nosy: oberstet, pypy-issue
priority: bug
status: unread
title: FreeBSD: alloc.h header missing

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1637>
________________________________________


More information about the pypy-issue mailing list