]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Tools: hv: remove inclusion of linux/types.h
authorOlaf Hering <olaf@aepfle.de>
Wed, 4 Dec 2013 13:25:55 +0000 (14:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 06:47:12 +0000 (22:47 -0800)
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>
tools/hv/hv_kvp_daemon.c
tools/hv/hv_vss_daemon.c

index b8d6d541d854b7d719056cec96640548980eb79e..4088b816a3eeac3c513400a67901337a529effd0 100644 (file)
@@ -26,7 +26,6 @@
 #include <sys/socket.h>
 #include <sys/poll.h>
 #include <sys/utsname.h>
-#include <linux/types.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 8bcb04096eb267a1f6d49e672720661e779ec5c3..520de330457106657ab747581f983d23d695e5df 100644 (file)
@@ -22,7 +22,6 @@
 #include <sys/socket.h>
 #include <sys/poll.h>
 #include <sys/ioctl.h>
-#include <linux/types.h>
 #include <fcntl.h>
 #include <stdio.h>
 #include <mntent.h>