Looks like you got that code from here: https://github.com/shawnu/UUGear
If so, the code is supposed to run on a Raspberry PI sporting some Linux distro. If you're trying it on some other OS or platform it probably won't work.
If you are in fact trying to make this run on a Raspberry PI using Linux, and it still doesn't work, then maybe you're missing an include path. In that case search the file and add the file location to your include path.
Otherwise you can try and contact the author: he left a link to his homepage at the bottom of the site posted above.