summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2015-03-21 05:16:56 +0000
committerRichard Dale <richard.dale@codethink.co.uk>2015-03-22 07:31:56 +0000
commit93f57afe30ac586b88afac11aaef7d5610d06656 (patch)
tree207e93c5a927a76629bfe335bf839e8a99e903bd
parent4a64e692075ce9c279a53e8d3809f8a41a28e797 (diff)
downloadlinux-pam-93f57afe30ac586b88afac11aaef7d5610d06656.tar.gz
Include paths.h to build with musl
-rw-r--r--modules/pam_lastlog/pam_lastlog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_lastlog/pam_lastlog.c b/modules/pam_lastlog/pam_lastlog.c
index 535b115..1021e0c 100644
--- a/modules/pam_lastlog/pam_lastlog.c
+++ b/modules/pam_lastlog/pam_lastlog.c
@@ -26,6 +26,7 @@
#include <sys/types.h>
#include <syslog.h>
#include <unistd.h>
+#include <paths.h>
#if defined(hpux) || defined(sunos) || defined(solaris)
# ifndef _PATH_LASTLOG