summaryrefslogtreecommitdiff
path: root/platform/haiku/platform_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/haiku/platform_config.h')
-rw-r--r--platform/haiku/platform_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/haiku/platform_config.h b/platform/haiku/platform_config.h
new file mode 100644
index 0000000000..691bdbdb9c
--- /dev/null
+++ b/platform/haiku/platform_config.h
@@ -0,0 +1,6 @@
+#include <alloca.h>
+
+// for ifaddrs.h needed in drivers/unix/ip_unix.cpp
+#define _BSD_SOURCE 1
+
+#define GLES2_INCLUDE_H <GL/glew.h>