On Tue, Jun 13, 2017 at 10:13:25PM +0800, JingPiao Chen wrote:
> * tests/netlink_sock_diag.c: Include <linux/smc.h>
> and <linux/smc_diag.h>.
> (test_smc_diag_req, test_smc_diag_msg): New functions.
> (main): Use them.
> ---
>  tests/netlink_sock_diag.c | 266 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 266 insertions(+)
> 
> diff --git a/tests/netlink_sock_diag.c b/tests/netlink_sock_diag.c
> index 8171e2e..50ef507 100644
> --- a/tests/netlink_sock_diag.c
> +++ b/tests/netlink_sock_diag.c
> @@ -40,6 +40,10 @@
>  #include <linux/netlink.h>
>  #include <linux/netlink_diag.h>
>  #include <linux/packet_diag.h>
> +#ifdef AF_SMC
> +# include <linux/smc.h>
> +# include <linux/smc_diag.h>
> +#endif

Does this test really need <linux/smc.h>?


-- 
ldv

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to