Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 25dce20a75bc84ae9e4ec640590cef0c12750789 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 28 Mar 2017 17:48:13 -0700 |
| 4 | Subject: [PATCH 1/2] l2tp_api: Included needed headers |
| 5 | |
| 6 | These are flagged by musl |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- |
| 10 | l2tp_api.c | 7 +++++-- |
| 11 | 1 file changed, 5 insertions(+), 2 deletions(-) |
| 12 | |
| 13 | diff --git a/l2tp_api.c b/l2tp_api.c |
| 14 | index d16f80e..9d6f60a 100644 |
| 15 | --- a/l2tp_api.c |
| 16 | +++ b/l2tp_api.c |
| 17 | @@ -22,9 +22,12 @@ |
| 18 | * Each module implements the required RPC xxx_1_svc() callbacks which |
| 19 | * are called directly by the RPC library. |
| 20 | */ |
| 21 | - |
| 22 | +#define _GNU_SOURCE |
| 23 | +#include <sys/types.h> |
| 24 | +#include <rpc/types.h> |
| 25 | +#include <rpc/xdr.h> |
| 26 | #include <rpc/pmap_clnt.h> |
| 27 | -#include <net/ethernet.h> |
| 28 | +//#include <netinet/in.h> |
| 29 | |
| 30 | #include "usl.h" |
| 31 | |
| 32 | -- |
| 33 | 2.12.1 |
| 34 | |