Source-Changes-HG archive

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

[src/trunk]: src/sys/sys PR 50633 and PR 50634 from Brad Harder: add missing ...



details:   https://anonhg.NetBSD.org/src/rev/ea7aae50feec
branches:  trunk
changeset: 344275:ea7aae50feec
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Mar 19 17:04:12 2016 +0000

description:
PR 50633 and PR 50634 from Brad Harder: add missing includes:
sys/signal.h and sys/time.h. Also add sys/uio.h which is needed and
for some probably historical/obsolete reason has been documented as a
prerequisite instead of included directly.

This also requires sys/param.h for MAXCOMLEN (blah) but for now at
least shift that to the documentation instead of including it
directly as it's a sewer.

diffstat:

 sys/sys/ktrace.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r ad1bd03e17e4 -r ea7aae50feec sys/sys/ktrace.h
--- a/sys/sys/ktrace.h  Fri Mar 18 20:40:21 2016 +0000
+++ b/sys/sys/ktrace.h  Sat Mar 19 17:04:12 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ktrace.h,v 1.62 2016/01/23 21:19:24 christos Exp $     */
+/*     $NetBSD: ktrace.h,v 1.63 2016/03/19 17:04:12 dholland Exp $     */
 
 /*
  * Copyright (c) 1988, 1993
@@ -36,6 +36,9 @@
 
 #include <sys/mutex.h>
 #include <sys/lwp.h>
+#include <sys/signal.h>
+#include <sys/time.h>
+#include <sys/uio.h>
 
 /*
  * operations to ktrace system call  (KTROP(op))



Home | Main Index | Thread Index | Old Index