X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2FAdapterDetection.cpp;h=1f96348f12fa7f175a922ce00af0e6f9e5b354b9;hb=4fe8d858f161384e8f808751c47d0e7e541b3adb;hp=f06809975abc49300558e06780b4445633f6dd6c;hpb=1de6617c9b9b4c83f7d1318038dcd9a20b9612e6;p=deb_libcec.git diff --git a/src/lib/AdapterDetection.cpp b/src/lib/AdapterDetection.cpp index f068099..1f96348 100644 --- a/src/lib/AdapterDetection.cpp +++ b/src/lib/AdapterDetection.cpp @@ -31,8 +31,7 @@ */ #include "AdapterDetection.h" -#include "platform/os-dependent.h" -#include "util/StdString.h" +#include "platform/os.h" #if defined(__APPLE__) #include @@ -44,6 +43,8 @@ #include #include #elif defined(__WINDOWS__) +#pragma comment(lib, "advapi32.lib") +#pragma comment(lib, "setupapi.lib") #include // the virtual COM port only shows up when requesting devices with the raw device guid!