[Bf-blender-cvs] [2f78bd1d522] master: Fix build error on FreeBSD

Brecht Van Lommel noreply at git.blender.org
Fri May 31 12:15:14 CEST 2019


Commit: 2f78bd1d5220deb31f3db3dabb905d7dc4cf6ee3
Author: Brecht Van Lommel
Date:   Fri May 31 12:14:02 2019 +0200
Branches: master
https://developer.blender.org/rB2f78bd1d5220deb31f3db3dabb905d7dc4cf6ee3

Fix build error on FreeBSD

Don't rely on indirect header includes.

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

M	intern/ghost/intern/GHOST_DropTargetX11.cpp

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

diff --git a/intern/ghost/intern/GHOST_DropTargetX11.cpp b/intern/ghost/intern/GHOST_DropTargetX11.cpp
index 3d58ed9236e..816d9c254ee 100644
--- a/intern/ghost/intern/GHOST_DropTargetX11.cpp
+++ b/intern/ghost/intern/GHOST_DropTargetX11.cpp
@@ -24,8 +24,10 @@
 #include "GHOST_DropTargetX11.h"
 #include "GHOST_Debug.h"
 
-#include <ctype.h>
 #include <assert.h>
+#include <ctype.h>
+#include <stdio.h>
+#include <string.h>
 
 bool GHOST_DropTargetX11::m_xdndInitialized = false;
 DndClass GHOST_DropTargetX11::m_dndClass;



More information about the Bf-blender-cvs mailing list