Преглед изворни кода

Include stdlib.h for alloca() on OpenBSD

Anton Yabchinskiy пре 10 година
родитељ
комит
e136033e1c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      platform/x11/platform_config.h

+ 1 - 1
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