git: c82ed437c67c - main - sys/conf.h: Make more self-contained

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 20 Nov 2024 03:35:47 UTC
The branch main has been updated by imp:

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

commit c82ed437c67c7f5e092954d9f7194e6be9c28150
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-11-20 02:52:40 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-11-20 02:52:40 +0000

    sys/conf.h: Make more self-contained
    
    struct cdev has members of type struct timespec. Include sys/_timespec.h
    to so we don't need to rely on namespace pollution to define it.
    
    Sponsored by: Netflix
---
 sys/sys/conf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 8470f53e0408..8970006c7089 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -44,6 +44,7 @@
 #else
 #include <sys/queue.h>
 #endif
+#include <sys/_timespec.h>
 
 struct snapdata;
 struct devfs_dirent;