diff mbox series

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

Message ID 20210804144026.3473120-1-Jonathan.Cameron@huawei.com (mailing list archive)
State New
Headers show
Series X.509 asn1-encoder: Add linux/types.h include | expand

Commit Message

Jonathan Cameron Aug. 4, 2021, 2:40 p.m. UTC
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.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: David Howells <dhowells@redhat.com>
---

Hit this whilst testing some additions to the asn1_encoder.

 include/linux/asn1_decoder.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/linux/asn1_decoder.h b/include/linux/asn1_decoder.h
index 83f9c6e1e5e9..b41bce82a191 100644
--- a/include/linux/asn1_decoder.h
+++ b/include/linux/asn1_decoder.h
@@ -9,6 +9,7 @@ 
 #define _LINUX_ASN1_DECODER_H
 
 #include <linux/asn1.h>
+#include <linux/types.h>
 
 struct asn1_decoder;