repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
188d35c
)
cec: place in libudev include in an extern C block. fixes compilations on older libud...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 30 Dec 2011 14:28:38 +0000
(15:28 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 30 Dec 2011 14:28:45 +0000
(15:28 +0100)
src/lib/AdapterDetection.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/AdapterDetection.cpp
b/src/lib/AdapterDetection.cpp
index b304e43561d2eb5c0961a425b140b35bda88cd6a..de1da7c1f3fb2c435d1fbc6f255ec0a9b86eb192 100644
(file)
--- a/
src/lib/AdapterDetection.cpp
+++ b/
src/lib/AdapterDetection.cpp
@@
-50,8
+50,10
@@
static GUID USB_RAW_GUID = { 0xA5DCBF10, 0x6530, 0x11D2, { 0x90, 0x1F, 0x00, 0xC0, 0x4F, 0xB9, 0x51, 0xED } };
#elif defined(HAVE_LIBUDEV)
#include <dirent.h>
-#include <libudev.h>
#include <poll.h>
+extern "C" {
+#include <libudev.h>
+}
#endif
#define CEC_VID 0x2548