Somehow I've had the wrong include directory in the project files all this time, and thus was missing a file as well. Oops.
[in_xsf] /
-rw-r--r-- 5135 README.txt
drwxr-xr-x src