git: 3140e6c48487 - stable/12 - sys/ata.h: Include sys/types.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 15:55:23 UTC
The branch stable/12 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=3140e6c48487be483992275dafa683c396253be8
commit 3140e6c48487be483992275dafa683c396253be8
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-24 17:48:10 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-12-06 15:54:10 +0000
sys/ata.h: Include sys/types.h
This file needs types defined by sys/types.h, and there's no reason not
to include sys/types.h here.
Sponsored by: Netflix
(cherry picked from commit d69b6fa5b449422b217aad22a81f3e3ec8dd6894)
---
sys/sys/ata.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/sys/ata.h b/sys/sys/ata.h
index da05718931b8..3419a818984c 100644
--- a/sys/sys/ata.h
+++ b/sys/sys/ata.h
@@ -31,6 +31,7 @@
#ifndef _SYS_ATA_H_
#define _SYS_ATA_H_
+#include <sys/types.h>
#include <sys/ioccom.h>
/* ATA/ATAPI device parameters */