config: Added c/common.h and move check for uint8_t into there.
diff --git a/ndn-cpp/common.hpp b/ndn-cpp/common.hpp
index 8a23ad0..0ed219c 100644
--- a/ndn-cpp/common.hpp
+++ b/ndn-cpp/common.hpp
@@ -8,7 +8,8 @@
#define NDN_COMMON_HPP
#include <vector>
-#include "../config.h"
+// common.h includes config.h.
+#include "c/common.h"
// Depending on where ./configure found shared_ptr, define the ptr_lib namespace.
// We always use ndn::ptr_lib.
@@ -49,15 +50,6 @@
namespace ndn { namespace func_lib = ndnboost; }
#endif
-// Need to define uint8_t. There may be no stdint.h since since it is only part of the C standard since 1999.
-#if HAVE_STDINT
-#include <stdint.h>
-#else
-#endif
-#ifndef _UINT8_T
-#define _UINT8_T
-typedef unsigned char uint8_t;
-#endif
namespace ndn {
/**