Add #include <cstdlib> to find NULL definition 46/24146/1
authorjonghyun.ho <jonghyun.ho@samsung.com>
Mon, 7 Jul 2014 06:39:08 +0000 (15:39 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 16:07:23 +0000 (17:07 +0100)
[cause]       'NULL' was not declared in this scope
              Common issues with GCC-4.6
              GCC-4.6 is again more strict, introduces new warnings,
               and lets packages fail to build, which did succeed to build with earlier GCC versions.
              Reference : https://wiki.ubuntu.com/GCC4.6
[solution]    Add #include <cstdlib> to find NULL definition

Change-Id: I2c2258339e3387cba54692fb7a6f7e0500de46e7
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
adaptors/tizen/internal/common/gl/gl-implementation.h

index ca459d8..d37912d 100644 (file)
@@ -26,6 +26,7 @@
 #if DALI_GLES_VERSION >= 30
 #include <GLES3/gl3.h>
 #else
+#include <cstdlib>
 #include <GLES2/gl2.h>
 #endif