[libvirt] [PATCH 1/2] virutil.c: do not include ioctl.h

Ján Tomko posted 2 patches 7 years ago
[libvirt] [PATCH 1/2] virutil.c: do not include ioctl.h
Posted by Ján Tomko 7 years ago
Added by commit 61674cc, but we have started using
set_nonblocking_flag from gnulib incommit da3c4714

Signed-off-by: Ján Tomko <jtomko@redhat.com>
---
 src/util/virutil.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/util/virutil.c b/src/util/virutil.c
index cd6fbf2f30..4b03fe60eb 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -42,7 +42,6 @@
 #endif
 
 #include <sys/types.h>
-#include <sys/ioctl.h>
 #include <string.h>
 #include <termios.h>
 
-- 
2.16.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 1/2] virutil.c: do not include ioctl.h
Posted by Peter Krempa 6 years, 12 months ago
On Fri, May 11, 2018 at 15:02:15 +0200, Ján Tomko wrote:
> Added by commit 61674cc, but we have started using
> set_nonblocking_flag from gnulib incommit da3c4714

s/incommit/in commit/

Wow, that's some pro-level archaeology.

> 
> Signed-off-by: Ján Tomko <jtomko@redhat.com>
> ---
>  src/util/virutil.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/util/virutil.c b/src/util/virutil.c
> index cd6fbf2f30..4b03fe60eb 100644
> --- a/src/util/virutil.c
> +++ b/src/util/virutil.c
> @@ -42,7 +42,6 @@
>  #endif
>  
>  #include <sys/types.h>
> -#include <sys/ioctl.h>
>  #include <string.h>
>  #include <termios.h>

ACK
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list