[Bf-blender-cvs] [39451ac7128] blender2.8: Fix compilation error with strick flags caused by missing abort()

Sergey Sharybin noreply at git.blender.org
Mon Apr 10 16:20:54 CEST 2017


Commit: 39451ac7128ef753da24ae74486c51a8a40e2719
Author: Sergey Sharybin
Date:   Mon Apr 10 16:20:18 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB39451ac7128ef753da24ae74486c51a8a40e2719

Fix compilation error with strick flags caused by missing abort()

===================================================================

M	source/blender/gpu/GPU_legacy_stubs.h

===================================================================

diff --git a/source/blender/gpu/GPU_legacy_stubs.h b/source/blender/gpu/GPU_legacy_stubs.h
index 4718789e6f2..6201b182896 100644
--- a/source/blender/gpu/GPU_legacy_stubs.h
+++ b/source/blender/gpu/GPU_legacy_stubs.h
@@ -43,6 +43,8 @@
 #  pragma GCC diagnostic ignored "-Wunused-function"
 #endif
 
+#include <stdlib.h>  /* for abort(). */
+
 #include "BLI_utildefines.h"
 
 #define _GL_PREFIX static inline




More information about the Bf-blender-cvs mailing list