Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | From 9d14edfc12eefac900dd54729a88b3ccf91c1c43 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 8 Jan 2016 07:18:15 +0000 |
| 4 | Subject: [PATCH 25/32] mc_gethost: include sys/types.h |
| 5 | |
| 6 | Fix build on musl |
| 7 | error: unknown type name 'u_char' |
| 8 | |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- |
| 11 | testcases/network/multicast/mc_gethost/mc_gethost.c | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
| 14 | diff --git a/testcases/network/multicast/mc_gethost/mc_gethost.c b/testcases/network/multicast/mc_gethost/mc_gethost.c |
| 15 | index 5b9a790..c799e2a 100644 |
| 16 | --- a/testcases/network/multicast/mc_gethost/mc_gethost.c |
| 17 | +++ b/testcases/network/multicast/mc_gethost/mc_gethost.c |
| 18 | @@ -6,6 +6,7 @@ |
| 19 | |
| 20 | #include <sys/param.h> |
| 21 | #include <sys/socket.h> |
| 22 | +#include <sys/types.h> |
| 23 | #include <netinet/in.h> |
| 24 | #include <arpa/inet.h> |
| 25 | #include <arpa/nameser.h> |
| 26 | -- |
| 27 | 2.7.0 |
| 28 | |