summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2018-01-24 11:17:59 -0500
committerRay Strode <rstrode@redhat.com>2018-01-24 11:19:48 -0500
commitc111873f35f29576d655652a95810bfceb1862ef (patch)
tree471c084b8ff7e75557cc843e591f0ab8952d9d25 /src
parent1760d7290cd3c1af44d0e92258f8a7045d20cdab (diff)
lib: add crypt.h include
libcrypt is getting cleaved from glibc, and it's definition is getting moved to crypt.h (along side the crypt_r definition that's existed for some time) This commit add #include <crypt.h> to keep things working in old and new libcs. https://bugs.freedesktop.org/show_bug.cgi?id=104771
Diffstat (limited to 'src')
-rw-r--r--src/libaccountsservice/act-user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libaccountsservice/act-user.c b/src/libaccountsservice/act-user.c
index 70691a0..da46bc5 100644
--- a/src/libaccountsservice/act-user.c
+++ b/src/libaccountsservice/act-user.c
@@ -26,6 +26,8 @@
#include <sys/stat.h>
#include <unistd.h>
+#include <crypt.h>
+
#include <glib.h>
#include <glib/gi18n.h>
#include <gio/gio.h>