The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / atftp / 0003-tftp.h-tftpd.h-fix-musl-compile-missing-include.patch
1 From 77e399899d9d7297d23c321811b628febdf0fd92 Mon Sep 17 00:00:00 2001
2 From: Peter Seiderer <ps.report@gmx.net>
3 Date: Thu, 16 Apr 2015 22:43:49 +0200
4 Subject: [PATCH] tftp.h/tftpd.h: fix musl compile (missing include)
5
6 Add sys/types.h include for u_char typedef.
7
8 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
9 ---
10  tftp.h  | 1 +
11  tftpd.h | 1 +
12  2 files changed, 2 insertions(+)
13
14 diff --git a/tftp.h b/tftp.h
15 index 12bd6aa..32a3f63 100644
16 --- a/tftp.h
17 +++ b/tftp.h
18 @@ -19,6 +19,7 @@
19  
20  #include <sys/time.h>
21  #include <sys/times.h>
22 +#include <sys/types.h>
23  #include "tftp_def.h"
24  #include "config.h"
25  
26 diff --git a/tftpd.h b/tftpd.h
27 index 945065e..60d3a49 100644
28 --- a/tftpd.h
29 +++ b/tftpd.h
30 @@ -20,6 +20,7 @@
31  #include <pthread.h>
32  #include <arpa/tftp.h>
33  #include <arpa/inet.h>
34 +#include <sys/types.h>
35  #include "tftp_io.h"
36  
37  /*
38 -- 
39 2.1.4
40