Reading the documentation is always a good 1st step.
VxWorks is POSIX PSE5.2 conformant only when using Real-Time Process (RTP) projects. That is what the /usr/... header points to.
If you are building a kernel module (DKM), then some of the POSIX interface are available, but apparently not the one you want for your port.
So, use RTPs is you want to port your code.
See the VxWorks Application Programmer's Guide. Section 3.4.2 (VxWorks 6.9) clearly states that target/usr/h is where the system header files are for RTPs. And cautions you not to reference header files in target/h.
See section 9 about POSIX Support.