chiark / gitweb /
include <poll.h> instead of <sys/poll.h>
[elogind.git] / man / sd_journal_get_fd.xml
index aaf53b93c729fe28a2a6e2622085598157c8ef4d..3a38f733ab781b62874b00f19cdc20be96824f9e 100644 (file)
@@ -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) {