Exported header doesn't use anything from <linux/string.h>, it is <linux/uuid.h> which uses memcmp().
Unified · Split
| @@ -17,6 +17,7 @@ · 16 unmodified lines | ||
| 17 | 17 | #define _LINUX_UUID_H_ |
| 18 | 18 | |
| 19 | 19 | #include <uapi/linux/uuid.h> |
| 20 | +#include <linux/string.h> | |
| 20 | 21 | |
| 21 | 22 | #define UUID_SIZE 16 |
| 22 | 23 | |
| @@ -19,7 +19,6 @@ · 18 unmodified lines | ||
| 19 | 19 | #define _UAPI_LINUX_UUID_H_ |
| 20 | 20 | |
| 21 | 21 | #include <linux/types.h> |
| 22 | −#include <linux/string.h> | |
| 23 | 22 | |
| 24 | 23 | typedef struct { |
| 25 | 24 | __u8 b[16]; |