compat: backport in.h shortcuts added by Joe (2658)