openbsd-ports/sysutils/accountsservice/patches/patch-src_wtmp-helper_h

14 lines
359 B
Plaintext

Index: src/wtmp-helper.h
--- src/wtmp-helper.h.orig
+++ src/wtmp-helper.h
@@ -23,7 +23,9 @@
#include <glib.h>
#include <pwd.h>
+#ifdef HAVE_SHADOW_H
#include <shadow.h>
+#endif
const gchar * wtmp_helper_get_path_for_monitor (void);
void wtmp_helper_update_login_frequencies (GHashTable *users);