mirror of https://gitee.com/openkylin/qemu.git
tap-win32: Use correct headers.
Replace the usage of DDK headers with the SDK counterpart "winioctl.h". Signed-off-by: Filip Navara <filip.navara@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
2bb8c10c91
commit
f8bfb1dc8b
|
@ -30,13 +30,7 @@
|
||||||
#include "sysemu.h"
|
#include "sysemu.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <winioctl.h>
|
||||||
/* NOTE: PCIBus is redefined in winddk.h */
|
|
||||||
#define PCIBus _PCIBus
|
|
||||||
#include <ddk/ntapi.h>
|
|
||||||
#include <ddk/winddk.h>
|
|
||||||
#include <ddk/ntddk.h>
|
|
||||||
#undef PCIBus
|
|
||||||
|
|
||||||
//=============
|
//=============
|
||||||
// TAP IOCTLs
|
// TAP IOCTLs
|
||||||
|
|
Loading…
Reference in New Issue