config: Put HAVE_STDINT in common.h and use to define uint8_t.
diff --git a/ndn-cpp/common.hpp b/ndn-cpp/common.hpp
index 4e451a9..8a23ad0 100644
--- a/ndn-cpp/common.hpp
+++ b/ndn-cpp/common.hpp
@@ -49,6 +49,15 @@
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 {
/**