Add missing includes 66/38366/1
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Fri, 17 Apr 2015 18:15:40 +0000 (20:15 +0200)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Fri, 17 Apr 2015 18:15:40 +0000 (20:15 +0200)
In few files there were missing includes for cstdint and cstring.

Change-Id: I3e3b62b7ebc02f895b6bb6e57fd096a80f00c4e5

src/agent/logic/Logic.cpp
src/client-async/logic/Logic.cpp
src/client/logic/Logic.cpp
src/common/log/log.cpp
src/common/plugin/PluginManager.cpp
src/common/protocol/ProtocolAgent.cpp
src/service/agent/AgentManager.cpp

index f652868..9b941ab 100644 (file)
@@ -20,6 +20,7 @@
  * @brief       This file contains implementation of Logic class - main libcynara-agent class
  */
 
+#include <cinttypes>
 #include <memory>
 
 #include <common.h>
index 41b1cec..89373a7 100644 (file)
@@ -22,6 +22,7 @@
  *              libcynara-client-async class
  */
 
+#include <cinttypes>
 #include <memory>
 
 #include <cache/CapacityCache.h>
index b9d590e..4280475 100644 (file)
@@ -21,6 +21,7 @@
  * @brief       This file contains implementation of Logic class - main libcynara-client class
  */
 
+#include <cinttypes>
 #include <memory>
 
 #include <cache/CapacityCache.h>
index bc28659..982f7e3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014-2015 Samsung Electronics Co., Ltd All Rights Reserved
  *
  * Contact: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
  *
@@ -24,6 +24,7 @@
 
 #include "log.h"
 
+#include <cstring>
 #include <stdlib.h>
 
 #ifdef BUILD_TYPE_DEBUG
index 38a83ff..4433ef1 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <cinttypes>
 #include <cstdlib>
+#include <cstring>
 #include <dirent.h>
 #include <dlfcn.h>
 #include <functional>
index b6d82cc..f6f38d7 100644 (file)
@@ -20,7 +20,7 @@
  * @brief       This file implements protocol class for communication with agent
  */
 
-#include <inttypes.h>
+#include <cinttypes>
 #include <memory>
 
 #include <exceptions/InvalidProtocolException.h>
index 7c8d4be..e5ceced 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014-2015 Samsung Electronics Co., Ltd All Rights Reserved
  *
  *    Licensed under the Apache License, Version 2.0 (the "License");
  *    you may not use this file except in compliance with the License.
@@ -20,6 +20,7 @@
  * @brief       Definition of AgentManager class
  */
 
+#include <cinttypes>
 #include <cstdint>
 
 #include <attributes/attributes.h>