git: d69b6fa5b449 - main - sys/ata.h: Include sys/types.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Nov 2021 18:27:45 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=d69b6fa5b449422b217aad22a81f3e3ec8dd6894
commit d69b6fa5b449422b217aad22a81f3e3ec8dd6894
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-24 17:48:10 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-11-24 18:26:45 +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
---
sys/sys/ata.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/sys/ata.h b/sys/sys/ata.h
index 83eb089dbecf..7f89d96790fe 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 */