Module Name: src
Committed By: riastradh
Date: Sun Aug 28 09:52:43 UTC 2022
Modified Files:
src/sys/dev: cons.h
Log Message:
cons(9): Need sys/types.h for dev_t, u_int.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/cons.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/cons.h
diff -u src/sys/dev/cons.h:1.27 src/sys/dev/cons.h:1.28
--- src/sys/dev/cons.h:1.27 Tue Feb 8 20:20:26 2011
+++ src/sys/dev/cons.h Sun Aug 28 09:52:43 2022
@@ -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 *);