summaryrefslogtreecommitdiffstats
path: root/package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-21 22:10:09 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-23 13:09:24 +0100
commitd6ac6942f9b74bf24dcd37642259347ab7b0eaaa (patch)
tree8ffd9c3e47f2cf2fc4eff4a77f1a1490bde0b1f7 /package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch
parent202ad0fd49d38a1acc25daebcfe80458e3179b79 (diff)
downloadbuildroot-d6ac6942f9b74bf24dcd37642259347ab7b0eaaa.tar.gz
buildroot-d6ac6942f9b74bf24dcd37642259347ab7b0eaaa.zip
vboot-utils: convert to Git formatted patches
Since vboot-utils is hosted in a Git repository, it makes sense to use Git formatted patches for this package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch')
-rw-r--r--package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch b/package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch
new file mode 100644
index 0000000000..4d559eabaf
--- /dev/null
+++ b/package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch
@@ -0,0 +1,27 @@
+From b6bed8d4e9453bc74ba021c8c17e20c3b5964c37 Mon Sep 17 00:00:00 2001
+From: Alex Suykov <alex.suykov@gmail.com>
+Date: Thu, 21 Jan 2016 22:00:34 +0100
+Subject: [PATCH] Add missing header include for ssize_t
+
+The code uses ssize_t which is usually defined in <unistd.h>.
+
+Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
+---
+ host/lib/fmap.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/host/lib/fmap.c b/host/lib/fmap.c
+index c95338d..e3db826 100644
+--- a/host/lib/fmap.c
++++ b/host/lib/fmap.c
+@@ -6,6 +6,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <unistd.h>
+
+ #include "fmap.h"
+
+--
+2.6.4
+
OpenPOWER on IntegriCloud