Browse Source

Add missing stdint.h header inclusion

Previously a missing header inclusion caused bind10-1.1.0
compilation to fail.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
Tomas Hozza 12 years ago
parent
commit
382705e83e
2 changed files with 4 additions and 0 deletions
  1. 2 0
      src/lib/util/memory_segment_mapped.cc
  2. 2 0
      src/lib/util/random/qid_gen.h

+ 2 - 0
src/lib/util/memory_segment_mapped.cc

@@ -28,6 +28,8 @@
 #include <string>
 #include <new>
 
+#include <stdint.h>
+
 // boost::interprocess namespace is big and can cause unexpected import
 // (e.g., it has "read_only"), so it's safer to be specific for shortcuts.
 using boost::interprocess::basic_managed_mapped_file;

+ 2 - 0
src/lib/util/random/qid_gen.h

@@ -25,6 +25,8 @@
 #include <boost/random/uniform_int.hpp>
 #include <boost/random/variate_generator.hpp>
 
+#include <stdint.h>
+
 namespace isc {
 namespace util {
 namespace random {