From d6cf04d2bb614ba9e0540a45ffb5f939fccd412b Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 24 Jan 2018 11:17:59 -0500 Subject: [PATCH] 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 to keep things working in old and new libcs. https://bugs.freedesktop.org/show_bug.cgi?id=104771 --- src/libaccountsservice/act-user.c | 2 ++ 1 file changed, 2 insertions(+) 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 @@ -1,58 +1,60 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2004-2005 James M. Cape . * Copyright (C) 2007-2008 William Jon McCann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include #include #include #include #include +#include + #include #include #include #include "act-user-private.h" #include "accounts-user-generated.h" /** * SECTION:act-user * @title: ActUser * @short_description: information about a user account * * An ActUser object represents a user account on the system. */ /** * ActUser: * * Represents a user account on the system. */ /** * ActUserAccountType: * @ACT_USER_ACCOUNT_TYPE_STANDARD: Normal non-administrative user * @ACT_USER_ACCOUNT_TYPE_ADMINISTRATOR: Administrative user * * Type of user account */ /** -- 2.14.3