Fix building on Haiku
Various build issues on Haiku, mostly involving system headers having fields clobbered by cpu-related defines, can be fixed simply by including stdlib.h at the top of 86box.h.
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
#include <stdarg.h>
|
||||
#endif
|
||||
|
||||
#if defined(__HAIKU__)
|
||||
/* Doesn't compile on Haiku without this include */
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
/* Configuration values. */
|
||||
#define GFXCARD_MAX 2
|
||||
#define SERIAL_MAX 8
|
||||
|
||||
Reference in New Issue
Block a user