svn commit: r365751 - head/sys/opencrypto

Warner Losh imp at FreeBSD.org
Tue Sep 15 15:21:29 UTC 2020


Author: imp
Date: Tue Sep 15 15:21:29 2020
New Revision: 365751
URL: https://svnweb.freebsd.org/changeset/base/365751

Log:
  Include sys/types.h here
  
  It's included by header pollution in most of the compile
  environments. However, in the standalone envirnment, it's not
  included. Go ahead and include it always since the overhead is low and
  it is simpler that way.
  
  MFC After: 3 days

Modified:
  head/sys/opencrypto/xform_aes_xts.c

Modified: head/sys/opencrypto/xform_aes_xts.c
==============================================================================
--- head/sys/opencrypto/xform_aes_xts.c	Tue Sep 15 14:15:04 2020	(r365750)
+++ head/sys/opencrypto/xform_aes_xts.c	Tue Sep 15 15:21:29 2020	(r365751)
@@ -50,6 +50,7 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include <sys/types.h>
 #include <opencrypto/xform_enc.h>
 
 static	int aes_xts_setkey(void *, const uint8_t *, int);


More information about the svn-src-all mailing list