diff options
author | Anton Yabchinskiy <arn@bestmx.ru> | 2014-11-20 00:12:01 +0300 |
---|---|---|
committer | Anton Yabchinskiy <arn@bestmx.ru> | 2014-11-22 13:23:22 +0300 |
commit | e136033e1c279b22f3a318b5b7c70e100fe68ee3 (patch) | |
tree | 332efd76dd2428f89b6d1034abe15f181ae751c7 /platform/x11 | |
parent | 4a1fd94f0d4de8a87b23668f33f2fd6cb012a854 (diff) |
Include stdlib.h for alloca() on OpenBSD
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/platform_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/platform_config.h b/platform/x11/platform_config.h index 21703969cc..c46ef1cf11 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 |