Replace deprecated malloc.h
authorRobbert Klarenbeek <robbertkl@renbeek.nl>
Tue, 15 Mar 2016 17:02:41 +0000 (18:02 +0100)
committerRobbert Klarenbeek <robbertkl@renbeek.nl>
Wed, 16 Mar 2016 10:37:27 +0000 (11:37 +0100)
modules/imgcodecs/src/rgbe.cpp

index 3400849..1e51cfb 100644 (file)
@@ -43,9 +43,7 @@
 #include "precomp.hpp"
 #include "rgbe.hpp"
 #include <math.h>
-#if !defined(__APPLE__)
-#include <malloc.h>
-#endif
+#include <stdlib.h>
 #include <string.h>
 #include <ctype.h>