After switching to unified headers, <stdlib.h> was not included indirectly in compat/setproctitle.c. This caused it to be implicitly declared to return int and caused a segfault.