0002-Add-missing-header-include-for-ssize_t.patch 617 B

123456789101112131415161718192021222324252627
  1. From b6bed8d4e9453bc74ba021c8c17e20c3b5964c37 Mon Sep 17 00:00:00 2001
  2. From: Alex Suykov <alex.suykov@gmail.com>
  3. Date: Thu, 21 Jan 2016 22:00:34 +0100
  4. Subject: [PATCH] Add missing header include for ssize_t
  5. The code uses ssize_t which is usually defined in <unistd.h>.
  6. Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
  7. ---
  8. host/lib/fmap.c | 1 +
  9. 1 file changed, 1 insertion(+)
  10. diff --git a/host/lib/fmap.c b/host/lib/fmap.c
  11. index c95338d..e3db826 100644
  12. --- a/host/lib/fmap.c
  13. +++ b/host/lib/fmap.c
  14. @@ -6,6 +6,7 @@
  15. #include <stdio.h>
  16. #include <string.h>
  17. +#include <unistd.h>
  18. #include "fmap.h"
  19. --
  20. 2.6.4