1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

alloca() lives in stdlib.h on FreeBSD

This commit is contained in:
Rob Messick
2014-02-23 12:15:14 -08:00
parent 51609ffc04
commit 0109fb4295

View File

@@ -26,7 +26,13 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifdef __linux__
#include <alloca.h>
#endif
#ifdef __FreeBSD__
#include <stdlib.h>
#endif
#define GLES2_INCLUDE_H "gl_context/glew.h"
#define GLES1_INCLUDE_H "gl_context/glew.h"