mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
912eb001da
Without it openiscsi build fails in staging-next as: ../../include/iscsi_proto.h:550:9: error: unknown type name 'itt_t' 550 | itt_t itt; /* Initiator Task Tag */ | ^~~~~
16 lines
419 B
Diff
16 lines
419 B
Diff
https://github.com/torvalds/linux/commit/caa28984163cb63ea0be4cb8dbf05defdc7303f9
|
|
|
|
Fixes openiscsi build.
|
|
--- a/include/uapi/linux/types.h
|
|
+++ b/include/uapi/linux/types.h
|
|
@@ -26,6 +26,9 @@
|
|
#define __bitwise
|
|
#endif
|
|
|
|
+/* The kernel doesn't use this legacy form, but user space does */
|
|
+#define __bitwise__ __bitwise
|
|
+
|
|
typedef __u16 __bitwise __le16;
|
|
typedef __u16 __bitwise __be16;
|
|
typedef __u32 __bitwise __le32;
|