Norbert van Bolhuis <nvbolh...@aimvalley.nl> [2020-03-30 17:18:12]:

Hi,

subject is missing proper prefix `linux-atm: include linux/sockios.h for 
SIOCGSTAMP`

> linux-atm saaldump.c/atmdump.c need to include linux/sockios.h for SIOCGSTAMP

Ok, where and how does this problem happens? That package builds fine for me
as it is, so I'm wondering Why? is this change needed. Can you add this detail
in the v2 of this patch?

> Signed-off-by: Norbert van Bolhuis <nvbolh...@aimvalley.nl>
> ---
>   package/network/utils/linux-atm/patches/800-include_sockios.patch         | 
> 21 +++++++++++++++++++
>   1 file changed, 21 insertions(+)
>   create mode 100644 
> package/network/utils/linux-atm/patches/800-include_sockios.patch
> 
> --
> 2.20.1
> 
> diff --git 
> a/package/network/utils/linux-atm/patches/800-include_sockios.patch 
> b/package/network/utils/linux-atm/patches/800-include_sockios.patch
> new file mode 100644
> index 0000000000..2501f17d17
> --- /dev/null
> +++ b/package/network/utils/linux-atm/patches/800-include_sockios.patch
> @@ -0,0 +1,21 @@
> +--- a/src/maint/saaldump.c   2020-03-29 22:58:01.089711789 +0200
> ++++ b/src/maint/saaldump.c   2020-03-29 22:59:17.564639387 +0200
> +@@ -6,6 +6,7 @@
> + #include <config.h>
> + #endif
> +
> ++#include <linux/sockios.h>
> + #include <stdlib.h>
> + #include <stdarg.h>
> + #include <stdio.h>
> +--- a/src/maint/atmdump.c    2020-03-29 22:58:18.573694469 +0200
> ++++ b/src/maint/atmdump.c    2020-03-29 22:58:49.956729365 +0200
> +@@ -6,6 +6,7 @@
> + #include <config.h>
> + #endif
> +
> ++#include <linux/sockios.h>
> + #include <stdlib.h>
> + #include <stdio.h>
> + #include <unistd.h>
> +

-- 
ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to