enable -Wall, explicitly call _dl_strsep, and zap some redundant includes
ok miod@
int all fields, so calloc can become malloc; ok miod@