summaryrefslogtreecommitdiff
path: root/src/shared/utmp-wtmp.c
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 /src/shared/utmp-wtmp.c
parentc1ff5570f4a04bb9aedea444c12dce81679224ec (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 'src/shared/utmp-wtmp.c')
-rw-r--r--src/shared/utmp-wtmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c
index 31f13ec808..bdb962af34 100644
--- a/src/shared/utmp-wtmp.c
+++ b/src/shared/utmp-wtmp.c
@@ -26,7 +26,7 @@
#include <sys/utsname.h>
#include <fcntl.h>
#include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
#include "macro.h"
#include "path-util.h"