git: f15ade6c1211 - stable/13 - sys/uuid.h: Include sys/types.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 15:56:44 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=f15ade6c12115cb84e48ae057030123b27150b87
commit f15ade6c12115cb84e48ae057030123b27150b87
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:56:00 +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