Sync with the version from emacs-20.5. (<string.h>): Include if HAVE_STRING_H. (<stdlib.h>): Include if HAVE_STDLIB_H. (alloca): Abort if malloc fails.