Add print_err() function.
Add the POLL directive.

Add a #define POLL directive to be able to choose the wait mechanism between
poll() or sd_journal_wait().