repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: only target .net 2.0, include all the new stuff in the installer
[deb_libcec.git]
/
src
/
lib
/
AdapterDetection.cpp
diff --git
a/src/lib/AdapterDetection.cpp
b/src/lib/AdapterDetection.cpp
index 168f1a4d1424eeac2811affd99980fc8290ebd6d..1f96348f12fa7f175a922ce00af0e6f9e5b354b9 100644
(file)
--- a/
src/lib/AdapterDetection.cpp
+++ b/
src/lib/AdapterDetection.cpp
@@
-43,6
+43,8
@@
#include <IOKit/serial/IOSerialKeys.h>
#include <CoreFoundation/CoreFoundation.h>
#elif defined(__WINDOWS__)
#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!
#include <setupapi.h>
// the virtual COM port only shows up when requesting devices with the raw device guid!