summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2013-04-08 16:26:09 -0700
committerAllen Martin <amartin@nvidia.com>2013-04-09 11:18:02 -0700
commit480901aba3b4bf1ac339477d9a84f0d08f9a53cd (patch)
treee53024f4f24ef040f54a88bb98a9a1c04be0d88b
parentf536ef21b12d7b47281cb889b886ecad99cddf96 (diff)
downloadnvidia-cbootimage-480901aba3b4bf1ac339477d9a84f0d08f9a53cd.tar.gz
Add missing header files
This is in preparation of switching to autotools, add explicit #includes for header files where there was an implicit dependency. Signed-off-by: Allen Martin <amartin@nvidia.com> Change-Id: I8ca5832638ac7043f2b4e687c52bbe6e0a755eef Reviewed-on: http://git-master/r/217546 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com>
-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>