mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-10 20:36:21 +03:00
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:
parent
db1c58095e
commit
bca4ca7949
@ -1 +1,4 @@
|
||||
#ifndef _LIBSPL_SYS_STRING_H
|
||||
#define _LIBSPL_SYS_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user