git: 1253575a473d - stable/12 - sys/uuid.h: Include sys/types.h

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 06 Dec 2021 15:55:24 UTC
The branch stable/12 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1253575a473db1006f606faa70e615ba40c55b3a

commit 1253575a473db1006f606faa70e615ba40c55b3a
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-24 17:49:53 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-12-06 15:54:10 +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
    
    (cherry picked from commit 00dbcdbe0a5af49d76711a48a84a720ab4243a57)
---
 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