I received an error when compiling on ubuntu 16.04.. Adding #include <sys/file.h> fixed the issue. [flock_implicit_declaration.patch.txt](https://github.com/olivopaolo/mtdev2tuio/files/5555085/flock_implicit_declaration.patch.txt)