Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 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 | Upstream-Status: Pending |
| 7 | |
| 8 | Add sys/types.h include for u_char typedef. |
| 9 | |
| 10 | Signed-off-by: Peter Seiderer <ps.report@gmx.net> |
| 11 | Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> |
| 12 | --- |
| 13 | tftp.h | 1 + |
| 14 | tftpd.h | 1 + |
| 15 | 2 files changed, 2 insertions(+) |
| 16 | |
| 17 | diff --git a/tftp.h b/tftp.h |
| 18 | index 12bd6aa..32a3f63 100644 |
| 19 | --- a/tftp.h |
| 20 | +++ b/tftp.h |
| 21 | @@ -19,6 +19,7 @@ |
| 22 | |
| 23 | #include <sys/time.h> |
| 24 | #include <sys/times.h> |
| 25 | +#include <sys/types.h> |
| 26 | #include "tftp_def.h" |
| 27 | #include "config.h" |
| 28 | |
| 29 | diff --git a/tftpd.h b/tftpd.h |
| 30 | index 945065e..60d3a49 100644 |
| 31 | --- a/tftpd.h |
| 32 | +++ b/tftpd.h |
| 33 | @@ -20,6 +20,7 @@ |
| 34 | #include <pthread.h> |
| 35 | #include <arpa/tftp.h> |
| 36 | #include <arpa/inet.h> |
| 37 | +#include <sys/types.h> |
| 38 | #include "tftp_io.h" |
| 39 | |
| 40 | /* |
| 41 | -- |
| 42 | 2.1.4 |
| 43 | |