cec: only target .net 2.0, include all the new stuff in the installer
[deb_libcec.git] / src / lib / AdapterDetection.cpp
index 168f1a4d1424eeac2811affd99980fc8290ebd6d..1f96348f12fa7f175a922ce00af0e6f9e5b354b9 100644 (file)
@@ -43,6 +43,8 @@
 #include <IOKit/serial/IOSerialKeys.h>
 #include <CoreFoundation/CoreFoundation.h>
 #elif defined(__WINDOWS__)
+#pragma comment(lib, "advapi32.lib")
+#pragma comment(lib, "setupapi.lib")
 #include <setupapi.h>
 
 // the virtual COM port only shows up when requesting devices with the raw device guid!