You must never put __name decls or libc_hidden_proto stuff in an installed header, which sys/prctl.h is. You can add an include/sys/prctl.h for that.