aboutsummaryrefslogtreecommitdiff
path: root/sys/crypto
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-07-24 21:52:20 +0000
committerWarner Losh <imp@FreeBSD.org>2022-07-24 22:53:35 +0000
commit414924d921710d3528834ba708938b7f3fd32a29 (patch)
treec0db3d830d26dd800a91db99a8fd0875f56724f8 /sys/crypto
parent09ace5cefbd29c105b2b332b71a19b3f9fd8079b (diff)
downloadsrc-414924d921710d3528834ba708938b7f3fd32a29.tar.gz
src-414924d921710d3528834ba708938b7f3fd32a29.zip
skein: Update guard define check
OpenZFS changed the define _OPENSOLARIS_SYS_TYPES_H_ to _SPL_SYS_TYPES_H_ to guard the sys/types.h compatibility file inclusion. Follow the change here. The only place in the tree _OPENSOLARIS_SYS_TYPES_H_ is mentioned is in the /* _OPENSOLARIS_SYS_TYPES_H_ */ at the end of sys/types.h. That needs to be changed upstream in OpenZFS since we don't like changing things in FreeBSD's tree. Sponsored by: Netflix Reviewed by: tsoome, delphij Differential Revision: https://reviews.freebsd.org/D35891
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/skein/skein_port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/crypto/skein/skein_port.h b/sys/crypto/skein/skein_port.h
index a284ad9f2b39..6f36c35a3753 100644
--- a/sys/crypto/skein/skein_port.h
+++ b/sys/crypto/skein/skein_port.h
@@ -19,7 +19,7 @@
#include <sys/endian.h>
#include <sys/types.h>
-#ifndef _OPENSOLARIS_SYS_TYPES_H_ /* Avoid redefining this typedef */
+#ifndef _SPL_SYS_TYPES_H_ /* Avoid redefining this typedef */
typedef unsigned int uint_t; /* native unsigned integer */
#endif
typedef uint8_t u08b_t; /* 8-bit unsigned integer */