blob: 093054ce80506c26b86c2164b479114ceb37c33f [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001From 77e399899d9d7297d23c321811b628febdf0fd92 Mon Sep 17 00:00:00 2001
2From: Peter Seiderer <ps.report@gmx.net>
3Date: Thu, 16 Apr 2015 22:43:49 +0200
4Subject: [PATCH] tftp.h/tftpd.h: fix musl compile (missing include)
5
6Upstream-Status: Pending
7
8Add sys/types.h include for u_char typedef.
9
10Signed-off-by: Peter Seiderer <ps.report@gmx.net>
11Signed-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
17diff --git a/tftp.h b/tftp.h
18index 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
29diff --git a/tftpd.h b/tftpd.h
30index 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--
422.1.4
43