git: 00dbcdbe0a5a - main - sys/uuid.h: Include sys/types.h

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 24 Nov 2021 18:27:47 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=00dbcdbe0a5af49d76711a48a84a720ab4243a57

commit 00dbcdbe0a5af49d76711a48a84a720ab4243a57
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-24 17:49:53 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-11-24 18:26:45 +0000

    sys/uuid.h: Include sys/types.h
    
    Change the include of sys/cdefs.h to sys/types.h to pick up all the
    types. sys/types.h includes cdefs.h.
    
    Sponsored by:           Netflix
---
 sys/sys/uuid.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/uuid.h b/sys/sys/uuid.h
index 95050d0f8d20..bbb85732dd50 100644
--- a/sys/sys/uuid.h
+++ b/sys/sys/uuid.h
@@ -31,7 +31,7 @@
 #ifndef _SYS_UUID_H_
 #define	_SYS_UUID_H_
 
-#include <sys/cdefs.h>
+#include <sys/types.h>
 
 /* Length of a node address (an IEEE 802 address). */
 #define	_UUID_NODE_LEN		6