[Bf-blender-cvs] [88a602bc64f] master: Fix build error in blenloader on macOS after recent changes

Brecht Van Lommel noreply at git.blender.org
Sat Sep 24 01:22:40 CEST 2022


Commit: 88a602bc64fc2a86411d67881439a04486f95030
Author: Brecht Van Lommel
Date:   Sat Sep 24 01:16:38 2022 +0200
Branches: master
https://developer.blender.org/rB88a602bc64fc2a86411d67881439a04486f95030

Fix build error in blenloader on macOS after recent changes

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

M	source/blender/blenloader/intern/readfile.h

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

diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h
index 2171d513d69..a0f19512753 100644
--- a/source/blender/blenloader/intern/readfile.h
+++ b/source/blender/blenloader/intern/readfile.h
@@ -8,6 +8,8 @@
 
 #pragma once
 
+#include <stdio.h> /* Include header using off_t before poisoning it below. */
+
 #ifdef WIN32
 #  include "BLI_winstuff.h"
 #endif



More information about the Bf-blender-cvs mailing list