The attached patch is needed to have it compiling on Gentoo/FreeBSD. Issue already reported upstream (See URL). Thanks, Diego
Created attachment 66688 [details, diff] vino-2.10.0-fbsd.patch
Committed for 2.10 and 2.11.92, hope that it gets fixed before 2.12 release.