[Bf-blender-cvs] [79d3b0b7333] blender2.7: Haiku: build fix

Campbell Barton noreply at git.blender.org
Fri Jan 4 07:05:54 CET 2019


Commit: 79d3b0b733315444baf0a387aa09eac358683161
Author: Campbell Barton
Date:   Fri Jan 4 17:04:04 2019 +1100
Branches: blender2.7
https://developer.blender.org/rB79d3b0b733315444baf0a387aa09eac358683161

Haiku: build fix

D4130 by @miqlas

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

M	intern/clog/clog.c

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

diff --git a/intern/clog/clog.c b/intern/clog/clog.c
index f64e7c19a5f..d8a11b068ce 100644
--- a/intern/clog/clog.c
+++ b/intern/clog/clog.c
@@ -29,7 +29,7 @@
 #include <assert.h>
 
 /* For 'isatty' to check for color. */
-#if defined(__unix__) || defined(__APPLE__)
+#if defined(__unix__) || defined(__APPLE__) || defined(__HAIKU__)
 #  include <unistd.h>
 #endif



More information about the Bf-blender-cvs mailing list