Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Olaf Hering and committed by
Greg Kroah-Hartman
51b68128 0f4054df

-2
-1
tools/hv/hv_kvp_daemon.c
··· 26 26 #include <sys/socket.h> 27 27 #include <sys/poll.h> 28 28 #include <sys/utsname.h> 29 - #include <linux/types.h> 30 29 #include <stdio.h> 31 30 #include <stdlib.h> 32 31 #include <unistd.h>
-1
tools/hv/hv_vss_daemon.c
··· 22 22 #include <sys/socket.h> 23 23 #include <sys/poll.h> 24 24 #include <sys/ioctl.h> 25 - #include <linux/types.h> 26 25 #include <fcntl.h> 27 26 #include <stdio.h> 28 27 #include <mntent.h>