NetBSD-Bugs archive

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

kern/47835: Missing header in rumpcomp_user.c-



>Number:         47835
>Category:       kern
>Synopsis:       Missing header in rumpcomp_user.c-
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 19 07:25:00 +0000 2013
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing header unistd.h for read(2) and close(2) in rumocomp_user.c .
>How-To-Repeat:

>Fix:
diff -u -p -r1.5 rumpcomp_user.c
--- sys/rump/net/lib/libvirtif/rumpcomp_user.c  30 Apr 2013 12:39:21 -0000      
1.5
+++ sys/rump/net/lib/libvirtif/rumpcomp_user.c  18 May 2013 07:51:56 -0000
@@ -36,6 +36,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #ifdef __linux__
 #include <net/if.h>



Home | Main Index | Thread Index | Old Index