glib-networking: bump to version 2.48.1
[buildroot-gz.git] / package / atftp / 0003-tftp.h-tftpd.h-fix-musl-compile-missing-include.patch
blob485e71a84bdc8ccf1b93eb2962b14738edcaf639
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)
6 Add sys/types.h include for u_char typedef.
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(+)
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 @@
20 #include <sys/time.h>
21 #include <sys/times.h>
22 +#include <sys/types.h>
23 #include "tftp_def.h"
24 #include "config.h"
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"
38 --
39 2.1.4