Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make/filemon Missed a spot -- define _KERNTYPES to g...



details:   https://anonhg.NetBSD.org/src/rev/c58fd6944f91
branches:  trunk
changeset: 1006583:c58fd6944f91
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jan 19 20:22:57 2020 +0000

description:
Missed a spot -- define _KERNTYPES to get register_t.

diffstat:

 usr.bin/make/filemon/filemon_ktrace.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 641782c3cfe3 -r c58fd6944f91 usr.bin/make/filemon/filemon_ktrace.c
--- a/usr.bin/make/filemon/filemon_ktrace.c     Sun Jan 19 20:02:23 2020 +0000
+++ b/usr.bin/make/filemon/filemon_ktrace.c     Sun Jan 19 20:22:57 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: filemon_ktrace.c,v 1.1 2020/01/19 19:49:37 riastradh Exp $     */
+/*     $NetBSD: filemon_ktrace.c,v 1.2 2020/01/19 20:22:57 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#define        _KERNTYPES              /* register_t */
+
 #include "filemon.h"
 
 #include <sys/param.h>



Home | Main Index | Thread Index | Old Index