summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cbootimage.c1
-rw-r--r--src/cbootimage.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/cbootimage.c b/src/cbootimage.c
index 5ba39d5..fad4d6a 100644
--- a/src/cbootimage.c
+++ b/src/cbootimage.c
@@ -21,6 +21,7 @@
* cbootimage.c - Implementation of the cbootimage tool.
*/
+#include <strings.h>
#include "cbootimage.h"
#include "crypto.h"
#include "data_layout.h"
diff --git a/src/cbootimage.h b/src/cbootimage.h
index 2234af1..b8f5c57 100644
--- a/src/cbootimage.h
+++ b/src/cbootimage.h
@@ -24,6 +24,7 @@
#ifndef INCLUDED_BUILDIMAGE_H
#define INCLUDED_BUILDIMAGE_H
+#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>