mirror_zfs/lib/libspl/include/sys/string.h
Rob Norris bca4ca7949 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
2025-11-12 10:00:41 -08:00

5 lines
85 B
C

#ifndef _LIBSPL_SYS_STRING_H
#define _LIBSPL_SYS_STRING_H
#include <string.h>
#endif