git: 2b986e4efad6 - stable/13 - sys/ata.h: Include sys/types.h

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 06 Dec 2021 15:56:41 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=2b986e4efad6a9472edc731d7b03e38d50951a1e

commit 2b986e4efad6a9472edc731d7b03e38d50951a1e
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:55:59 +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 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 */