Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/dev/lib/libugenhc Some systems provide ioctl() via ...



details:   https://anonhg.NetBSD.org/src/rev/918e74dd5233
branches:  trunk
changeset: 787805:918e74dd5233
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jul 04 10:09:55 2013 +0000

description:
Some systems provide ioctl() via unistd.h
(not that this is going to work there, but at least we don't
get unnecessary compiler warnings)

diffstat:

 sys/rump/dev/lib/libugenhc/rumpcomp_user.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r af38903b50df -r 918e74dd5233 sys/rump/dev/lib/libugenhc/rumpcomp_user.c
--- a/sys/rump/dev/lib/libugenhc/rumpcomp_user.c        Thu Jul 04 09:58:28 2013 +0000
+++ b/sys/rump/dev/lib/libugenhc/rumpcomp_user.c        Thu Jul 04 10:09:55 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpcomp_user.c,v 1.5 2013/04/30 12:39:21 pooka Exp $  */
+/*     $NetBSD: rumpcomp_user.c,v 1.6 2013/07/04 10:09:55 pooka Exp $  */
 
 /*
  * Copyright (c) 2007-2010 Antti Kantee.  All Rights Reserved.
@@ -29,6 +29,7 @@
 #include <sys/ioctl.h>
 
 #include <errno.h>
+#include <unistd.h>
 
 #include <rump/rumpuser_component.h>
 



Home | Main Index | Thread Index | Old Index