git: 0eb2c9d39b5f - main - freebsd32: Fix includes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jan 2026 16:40:38 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=0eb2c9d39b5f5cfb68b404bca358aa5fb11ac60c
commit 0eb2c9d39b5f5cfb68b404bca358aa5fb11ac60c
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-01-26 16:24:54 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-01-26 16:37:40 +0000
freebsd32: Fix includes
The previous commit added <sys/cdefs.h>, which isn't actually needed.
Conversely, <sys/event.h> is needed (and has been for a long time) but
was not included.
MFC after: 1 week
Fixes: a11d132f6c62 ("devstat: Provide 32-bit compatibility")
Reported by: gallatin@
---
sys/compat/freebsd32/freebsd32.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h
index a8d54290980d..25703859a7bb 100644
--- a/sys/compat/freebsd32/freebsd32.h
+++ b/sys/compat/freebsd32/freebsd32.h
@@ -29,9 +29,9 @@
#ifndef _COMPAT_FREEBSD32_FREEBSD32_H_
#define _COMPAT_FREEBSD32_FREEBSD32_H_
-#include <sys/cdefs.h>
#include <sys/abi_compat.h>
#include <sys/devicestat.h>
+#include <sys/event.h>
#include <sys/mount.h>
#include <sys/procfs.h>
#include <sys/socket.h>