Skip to contentSkip to conversation

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

PATCH New Olaf Hering 1 participant 1 message Dec 4, 2013 Hyper-V/Azure core and drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 tools/hv/hv_kvp_daemon.c | 1 -
 tools/hv/hv_vss_daemon.c | 1 -
 2 files changed, 2 deletions(-)
tools/hv/hv_kvp_daemon.c +0 -1
index b8d6d54..4088b81 100644
@@ -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>
tools/hv/hv_vss_daemon.c +0 -1
index 8bcb040..520de3304 100644
@@ -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>