aboutsummaryrefslogtreecommitdiffstats
path: root/main/sessreg/missing_path_wtmpx.patch
blob: dac21245f10dc844e0950db11ebdde265da84dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur sessreg-1.0.8.orig/sessreg.h sessreg-1.0.8/sessreg.h
--- sessreg-1.0.8.orig/sessreg.h	2013-02-10 21:43:50.000000000 -0500
+++ sessreg-1.0.8/sessreg.h	2014-06-18 10:02:17.769459663 -0400
@@ -106,3 +106,8 @@
 #ifndef UTMPX_FILE
 # define UTMPX_FILE	_PATH_UTMPX
 #endif
+
+#ifndef _PATH_WTMPX
+# define _PATH_WTMPX	"/var/log/wtmp"
+#endif
+