libspl: add include guards for sys/string.h

The extra inclusion via xvattr.h appears to upset the linter in CI. I'm
not entirely sure what its complaint is, but removing sys/string.h
entirely is not quite possible yet, and include guards are rarely a bad
idea, so this will do.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #17861
This commit is contained in:
Rob Norris 2025-10-22 13:52:22 +11:00 committed by Brian Behlendorf
parent db1c58095e
commit bca4ca7949

View File

@ -1 +1,4 @@
#ifndef _LIBSPL_SYS_STRING_H
#define _LIBSPL_SYS_STRING_H
#include <string.h>
#endif