Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev cons(9): Need sys/types.h for dev_t, u_int.



details:   https://anonhg.NetBSD.org/src/rev/619e9d530f22
branches:  trunk
changeset: 369695:619e9d530f22
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Aug 28 09:52:43 2022 +0000

description:
cons(9): Need sys/types.h for dev_t, u_int.

diffstat:

 sys/dev/cons.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 61cb392ba6e3 -r 619e9d530f22 sys/dev/cons.h
--- a/sys/dev/cons.h    Sun Aug 28 09:48:12 2022 +0000
+++ b/sys/dev/cons.h    Sun Aug 28 09:52:43 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cons.h,v 1.27 2011/02/08 20:20:26 rmind Exp $  */
+/*     $NetBSD: cons.h,v 1.28 2022/08/28 09:52:43 riastradh Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -41,6 +41,8 @@
 #ifndef _SYS_DEV_CONS_H_
 #define _SYS_DEV_CONS_H_
 
+#include <sys/types.h>
+
 struct consdev {
        void    (*cn_probe)     /* probe hardware and fill in consdev info */
                   (struct consdev *);



Home | Main Index | Thread Index | Old Index