Guard libudev include with extern "C".
This commit is contained in:
parent
b9af277e16
commit
31995420d3
1 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,10 @@
|
|||
#include <sys/stat.h>
|
||||
#include "FGLinuxEventInput.hxx"
|
||||
|
||||
#include <libudev.h>
|
||||
extern "C" {
|
||||
#include <libudev.h>
|
||||
}
|
||||
|
||||
#include <poll.h>
|
||||
#include <linux/input.h>
|
||||
#include <fcntl.h>
|
||||
|
|
Loading…
Reference in a new issue