| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/accountsservice/files/ |
Upload File : |
--- src/user.h.orig 2016-09-06 17:31:50 UTC
+++ src/user.h
@@ -22,7 +22,9 @@
#include <sys/types.h>
#include <pwd.h>
+#ifdef HAVE_SHADOW_H
#include <shadow.h>
+#endif
#include <glib.h>
#include <gio/gio.h>
@@ -54,9 +56,14 @@ GType user_get_type (void) G_G
User * user_new (Daemon *daemon,
uid_t uid);
+#ifdef HAVE_SHADOW_H
void user_update_from_pwent (User *user,
struct passwd *pwent,
struct spwd *spent);
+#else
+void user_update_from_pwent (User *user,
+ struct passwd *pwent);
+#endif
void user_update_from_keyfile (User *user,
GKeyFile *keyfile);
void user_update_local_account_property (User *user,