diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-12 14:06:32 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-12 20:47:38 +0100 |
commit | 0a6f50c0afdfc434b492493bd9efab20cbee8623 (patch) | |
tree | 46f6a16167472de91b2773685cf9506f0576e493 /man/sd_journal_get_fd.xml | |
parent | c1ff5570f4a04bb9aedea444c12dce81679224ec (diff) |
include <poll.h> instead of <sys/poll.h>
include-what-you-use automatically does this and it makes finding
unnecessary harder to spot. The only content of poll.h is a include
of sys/poll.h so should be harmless.
Diffstat (limited to 'man/sd_journal_get_fd.xml')
-rw-r--r-- | man/sd_journal_get_fd.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml index aaf53b93c7..3a38f733ab 100644 --- a/man/sd_journal_get_fd.xml +++ b/man/sd_journal_get_fd.xml @@ -291,7 +291,7 @@ int main(int argc, char *argv[]) { example lacks all error checking for the sake of simplicity):</para> - <programlisting>#include <sys/poll.h> + <programlisting>#include <poll.h> #include <systemd/sd-journal.h> int wait_for_changes(sd_journal *j) { |