Date: Wed, 20 Nov 2024 03:35:47 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c82ed437c67c - main - sys/conf.h: Make more self-contained Message-ID: <202411200335.4AK3ZlCn099388@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411200335.4AK3ZlCn099388>