[LTP] [PATCH] tst_af_alg: fix build error when ALG_SET_AEAD_ASSOCLEN undefined
Petr Vorel
pvorel@suse.cz
Fri Aug 28 10:48:18 CEST 2020
Hi,
...
> --- a/configure.ac
> +++ b/configure.ac
> @@ -193,6 +193,12 @@ AC_CHECK_TYPES([struct xt_entry_match, struct xt_entry_target],,,[
> #include <linux/netfilter_ipv4/ip_tables.h>
> ])
> +AC_CHECK_TYPES([struct sockaddr_alg, struct af_alg_iv],,,[
> +#ifdef HAVE_LINUX_IF_ALG_H
> +# include <linux/if_alg.h>
> +#endif
IMHO <linux/if_alg.h> does not need to be guarded.
(as the definitions are in it it either fail because missing or fail because not
loaded)
> +])
> +
> # Tools knobs
...
Kind regards,
Petr
More information about the ltp
mailing list