Kaydet (Commit) 7c9e637b authored tarafından Robert Nagy's avatar Robert Nagy

alloca(3) needs stdlib.h on *BSD because there is no alloca.h

üst 7cce0819
...@@ -26,7 +26,11 @@ ...@@ -26,7 +26,11 @@
* *
************************************************************************/ ************************************************************************/
#if defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY)
#include <stdlib.h>
#else
#include <alloca.h> #include <alloca.h>
#endif
#include <exception> #include <exception>
#include <typeinfo> #include <typeinfo>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment