Skip to contentSkip to conversation

X.509 asn1-encoder: Add linux/types.h include

PATCH New Jonathan Cameron 1 participant 1 message Aug 4, 2021 Keys/keyrings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 X.509 asn1-encoder: Add linux/types.h include

Needed as this uses size_t and without the include, the ordering of includes in any file that includes this matters. If you happen to prefer alphabetical order that tends to cause problems.

---

Hit this whilst testing some additions to the asn1_encoder.

 include/linux/asn1_decoder.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/asn1_decoder.h +1 -0
index 83f9c6e1e5e9..b41bce82a191 100644
@@ -9,6 +9,7 @@
 #define _LINUX_ASN1_DECODER_H
 
 #include <linux/asn1.h>
+#include <linux/types.h>
 
 struct asn1_decoder;
 
Signature · 1 line
2.19.1