The file proto/listener.h makes use of strdup() but doesn't include <string.h> so it's sensible to include file ordering.