OS-2568 sys/rwlock.h isn't quite valid C anymore