Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Include "sys/uio.h" instead of forward defining "uio...



details:   https://anonhg.NetBSD.org/src/rev/3403b8366f77
branches:  trunk
changeset: 581922:3403b8366f77
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Jun 10 11:36:38 2005 +0000

description:
Include "sys/uio.h" instead of forward defining "uio_seg" which causes
a lint failure while building "libc".

diffstat:

 sys/sys/exec.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 7f92934726cd -r 3403b8366f77 sys/sys/exec.h
--- a/sys/sys/exec.h    Fri Jun 10 11:11:38 2005 +0000
+++ b/sys/sys/exec.h    Fri Jun 10 11:36:38 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec.h,v 1.108 2005/06/10 05:10:13 matt Exp $  */
+/*     $NetBSD: exec.h,v 1.109 2005/06/10 11:36:38 tron Exp $  */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -131,12 +131,13 @@
  * in creating the new process's vmspace.
  */
 
+#include <sys/uio.h>
+
 struct lwp;
 struct proc;
 struct exec_package;
 struct vnode;
 struct ucred;
-enum uio_seg;
 
 typedef int (*exec_makecmds_fcn)(struct proc *, struct exec_package *);
 



Home | Main Index | Thread Index | Old Index