summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commonlib/iobuf.c1
-rw-r--r--src/commonlib/region.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/commonlib/iobuf.c b/src/commonlib/iobuf.c
index 042e8dd47e..378793e223 100644
--- a/src/commonlib/iobuf.c
+++ b/src/commonlib/iobuf.c
@@ -3,6 +3,7 @@
#include <commonlib/endian.h>
#include <commonlib/iobuf.h>
#include <string.h>
+#include <stdint.h>
static int ibuf_check_size(const struct ibuf *ib, size_t sz)
{
diff --git a/src/commonlib/region.c b/src/commonlib/region.c
index 252f6faf12..4153f0a47d 100644
--- a/src/commonlib/region.c
+++ b/src/commonlib/region.c
@@ -2,6 +2,7 @@
#include <commonlib/helpers.h>
#include <commonlib/region.h>
+#include <stdint.h>
#include <string.h>
int region_is_subregion(const struct region *p, const struct region *c)