Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51b68128 authored by Olaf Hering's avatar Olaf Hering Committed by Greg Kroah-Hartman
Browse files

Tools: hv: remove inclusion of linux/types.h



With very old libc headers the inclusion of sys/types.h causes conflicts
with linux/types.h. Since the latter is not required anyway, remove it
from the source files. If any of the headers really needs linux/types.h
it has to include it itself.

Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f4054df
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -26,7 +26,6 @@
#include <sys/socket.h>
#include <sys/socket.h>
#include <sys/poll.h>
#include <sys/poll.h>
#include <sys/utsname.h>
#include <sys/utsname.h>
#include <linux/types.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <unistd.h>
#include <unistd.h>
+0 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,6 @@
#include <sys/socket.h>
#include <sys/socket.h>
#include <sys/poll.h>
#include <sys/poll.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <linux/types.h>
#include <fcntl.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdio.h>
#include <mntent.h>
#include <mntent.h>