tests: fix uClibc for getversion.c
commitde2e9a5c6bb567aa87ea81b69a3491eb692bbbf0
authorJosé Luis Salvador Rufo <salvador.joseluis@gmail.com>
Fri, 15 Nov 2024 00:56:12 +0000 (15 09:56 +0900)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2024 00:56:12 +0000 (14 16:56 -0800)
treecad82930205372a4c04b523717463d7b9bdca668
parent3462f3bd50397aa4aac8163ac9438805fe82c79f
tests: fix uClibc for getversion.c

This patch fixes compilation with uClibc by applying the same fallback
as commit e12d76176d4e5454db62eb48b58ecd4970838a76 to the `getversion.c`
file, which was previously overlooked.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Closes #16735
Closes #16741
tests/zfs-tests/cmd/getversion.c