summaryrefslogtreecommitdiff
path: root/platform/x11/platform_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11/platform_config.h')
-rw-r--r--platform/x11/platform_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/platform_config.h b/platform/x11/platform_config.h
index c01d0aa380..1556b56058 100644
--- a/platform/x11/platform_config.h
+++ b/platform/x11/platform_config.h
@@ -29,7 +29,7 @@
#ifdef __linux__
#include <alloca.h>
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <stdlib.h>
#endif