[PATCH] LayerManagerControl: Fix compilation errors.

mateuszx.potrola at intel.com mateuszx.potrola at intel.com
Fri Dec 15 07:31:21 EST 2017


From: Mateusz Polrola <mateuszx.potrola at intel.com>

Commit d607f22acd61b9f0d86dbd1ea3bc2bf681b3c2f5 introduced free calls in
LayerManagerControl's print.cpp, which due to lack of stdlib.h include
in that file is causing compilation errors.

Signed-off-by: Mateusz Polrola <mateuszx.potrola at intel.com>
---
 ivi-layermanagement-examples/LayerManagerControl/src/print.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ivi-layermanagement-examples/LayerManagerControl/src/print.cpp b/ivi-layermanagement-examples/LayerManagerControl/src/print.cpp
index 7b1feef..40208a3 100644
--- a/ivi-layermanagement-examples/LayerManagerControl/src/print.cpp
+++ b/ivi-layermanagement-examples/LayerManagerControl/src/print.cpp
@@ -36,6 +36,7 @@ using std::map;
 #include <vector>
 using std::vector;
 
+#include <cstdlib>
 
 void printArray(const char* text, unsigned int* array, int count)
 {
-- 
2.5.5

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928




More information about the genivi-ivi-layer-management mailing list