summaryrefslogtreecommitdiff
path: root/man/sd_journal_get_fd.xml
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-12 14:06:32 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-12 20:47:38 +0100
commit0a6f50c0afdfc434b492493bd9efab20cbee8623 (patch)
tree46f6a16167472de91b2773685cf9506f0576e493 /man/sd_journal_get_fd.xml
parentc1ff5570f4a04bb9aedea444c12dce81679224ec (diff)
downloadsystemd-0a6f50c0afdfc434b492493bd9efab20cbee8623.tar.gz
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.xml2
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 &lt;sys/poll.h&gt;
+ <programlisting>#include &lt;poll.h&gt;
#include &lt;systemd/sd-journal.h&gt;
int wait_for_changes(sd_journal *j) {