Permalink
Browse files

Fix compile against old libudev on eg. Ubuntu Karmic

  • Loading branch information...
1 parent 7149274 commit 5c1cfe48a6ac4cbe63bba10c78134f385ad1f46d @felixbuenemann felixbuenemann committed Oct 11, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/peripherals/bus/linux/PeripheralBusUSBLibUdev.cpp
@@ -21,7 +21,9 @@
#include "PeripheralBusUSBLibUdev.h"
#include "peripherals/Peripherals.h"
+extern "C" {
#include <libudev.h>
+}
#include <usb.h>
#include <poll.h>
#include "utils/log.h"

0 comments on commit 5c1cfe4

Please sign in to comment.