Update scene.h

use #include <cstdlib> only if the compiler is used to compile c++ code.
This commit is contained in:
Kim Kulling
2019-08-18 09:40:13 +02:00
committed by GitHub
parent a9b4909a2f
commit 7ee7946dc5

View File

@@ -56,9 +56,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "material.h"
#include "anim.h"
#include "metadata.h"
#include <cstdlib>
#ifdef __cplusplus
# include <cstdlib>
extern "C" {
#endif