Include "err.h" to be able to use `warnx()`

Otherwise, we get a warning about `warnx()` not being defined.