1
0
Fork 0

Guard libudev include with extern "C".

This commit is contained in:
James Turner 2013-01-30 20:49:50 +00:00
parent b9af277e16
commit 31995420d3

View file

@ -27,7 +27,10 @@
#include <sys/stat.h> #include <sys/stat.h>
#include "FGLinuxEventInput.hxx" #include "FGLinuxEventInput.hxx"
extern "C" {
#include <libudev.h> #include <libudev.h>
}
#include <poll.h> #include <poll.h>
#include <linux/input.h> #include <linux/input.h>
#include <fcntl.h> #include <fcntl.h>