Ray Strode 6c1950
From c111873f35f29576d655652a95810bfceb1862ef Mon Sep 17 00:00:00 2001
Ray Strode 6c1950
From: Ray Strode <rstrode@redhat.com>
Ray Strode 6c1950
Date: Wed, 24 Jan 2018 11:17:59 -0500
Ray Strode 6c1950
Subject: [PATCH] lib: add crypt.h include
Ray Strode 6c1950
Ray Strode 6c1950
libcrypt is getting cleaved from glibc, and it's definition is
Ray Strode 6c1950
getting moved to crypt.h (along side the crypt_r definition that's
Ray Strode 6c1950
existed for some time)
Ray Strode 6c1950
Ray Strode 6c1950
This commit add #include <crypt.h> to keep things working in old
Ray Strode 6c1950
and new libcs.
Ray Strode 6c1950
Ray Strode 6c1950
https://bugs.freedesktop.org/show_bug.cgi?id=104771
Ray Strode 6c1950
---
Ray Strode 6c1950
 src/libaccountsservice/act-user.c | 2 ++
Ray Strode 6c1950
 1 file changed, 2 insertions(+)
Ray Strode 6c1950
Ray Strode 6c1950
diff --git a/src/libaccountsservice/act-user.c b/src/libaccountsservice/act-user.c
Ray Strode 6c1950
index 70691a0..da46bc5 100644
Ray Strode 6c1950
--- a/src/libaccountsservice/act-user.c
Ray Strode 6c1950
+++ b/src/libaccountsservice/act-user.c
Ray Strode 6c1950
@@ -1,58 +1,60 @@
Ray Strode 6c1950
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
Ray Strode 6c1950
  *
Ray Strode 6c1950
  * Copyright (C) 2004-2005 James M. Cape <jcape@ignore-your.tv>.
Ray Strode 6c1950
  * Copyright (C) 2007-2008 William Jon McCann <mccann@jhu.edu>
Ray Strode 6c1950
  *
Ray Strode 6c1950
  * This program is free software; you can redistribute it and/or modify
Ray Strode 6c1950
  * it under the terms of the GNU General Public License as published by
Ray Strode 6c1950
  * the Free Software Foundation; either version 2 of the License, or
Ray Strode 6c1950
  * (at your option) any later version.
Ray Strode 6c1950
  *
Ray Strode 6c1950
  * This program is distributed in the hope that it will be useful,
Ray Strode 6c1950
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
Ray Strode 6c1950
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Ray Strode 6c1950
  * GNU General Public License for more details.
Ray Strode 6c1950
  *
Ray Strode 6c1950
  * You should have received a copy of the GNU General Public License
Ray Strode 6c1950
  * along with this program; if not, write to the Free Software
Ray Strode 6c1950
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Ray Strode 6c1950
  */
Ray Strode 6c1950
 
Ray Strode 6c1950
 #include <config.h>
Ray Strode 6c1950
 
Ray Strode 6c1950
 #include <float.h>
Ray Strode 6c1950
 #include <string.h>
Ray Strode 6c1950
 #include <sys/types.h>
Ray Strode 6c1950
 #include <sys/stat.h>
Ray Strode 6c1950
 #include <unistd.h>
Ray Strode 6c1950
 
Ray Strode 6c1950
+#include <crypt.h>
Ray Strode 6c1950
+
Ray Strode 6c1950
 #include <glib.h>
Ray Strode 6c1950
 #include <glib/gi18n.h>
Ray Strode 6c1950
 #include <gio/gio.h>
Ray Strode 6c1950
 
Ray Strode 6c1950
 #include "act-user-private.h"
Ray Strode 6c1950
 #include "accounts-user-generated.h"
Ray Strode 6c1950
 
Ray Strode 6c1950
 /**
Ray Strode 6c1950
  * SECTION:act-user
Ray Strode 6c1950
  * @title: ActUser
Ray Strode 6c1950
  * @short_description: information about a user account
Ray Strode 6c1950
  *
Ray Strode 6c1950
  * An ActUser object represents a user account on the system.
Ray Strode 6c1950
  */
Ray Strode 6c1950
 
Ray Strode 6c1950
 /**
Ray Strode 6c1950
  * ActUser:
Ray Strode 6c1950
  *
Ray Strode 6c1950
  * Represents a user account on the system.
Ray Strode 6c1950
  */
Ray Strode 6c1950
 
Ray Strode 6c1950
 /**
Ray Strode 6c1950
  * ActUserAccountType:
Ray Strode 6c1950
  * @ACT_USER_ACCOUNT_TYPE_STANDARD: Normal non-administrative user
Ray Strode 6c1950
  * @ACT_USER_ACCOUNT_TYPE_ADMINISTRATOR: Administrative user
Ray Strode 6c1950
  *
Ray Strode 6c1950
  * Type of user account
Ray Strode 6c1950
  */
Ray Strode 6c1950
 
Ray Strode 6c1950
 /**
Ray Strode 6c1950
-- 
Ray Strode 6c1950
2.14.3
Ray Strode 6c1950