git: ab3e6234ab6e - main - examples/kld/syscall: unbreak compilation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Jun 2023 06:01:05 UTC
The branch main has been updated by maxim:
URL: https://cgit.FreeBSD.org/src/commit/?id=ab3e6234ab6e03671e9be94da7b5dd2d5348b280
commit ab3e6234ab6e03671e9be94da7b5dd2d5348b280
Author: Maxim Konovalov <maxim@FreeBSD.org>
AuthorDate: 2023-06-18 05:52:01 +0000
Commit: Maxim Konovalov <maxim@FreeBSD.org>
CommitDate: 2023-06-18 05:52:01 +0000
examples/kld/syscall: unbreak compilation
modfind(9)/modstat(9) need sys/param.h.
---
share/examples/kld/syscall/test/call.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/examples/kld/syscall/test/call.c b/share/examples/kld/syscall/test/call.c
index 1fb509d1f0ab..e257c6cc18dc 100644
--- a/share/examples/kld/syscall/test/call.c
+++ b/share/examples/kld/syscall/test/call.c
@@ -28,7 +28,7 @@
* $FreeBSD$
*/
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/module.h>
#include <sys/syscall.h>