summaryrefslogtreecommitdiffstats
path: root/hack/pathnames.h
diff options
context:
space:
mode:
Diffstat (limited to 'hack/pathnames.h')
-rw-r--r--hack/pathnames.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/hack/pathnames.h b/hack/pathnames.h
index 3af190e9..bbd2fa71 100644
--- a/hack/pathnames.h
+++ b/hack/pathnames.h
@@ -31,7 +31,9 @@
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
*/
-#define _PATH_MAIL "/usr/bin/mail"
-#define _PATH_QUEST "/var/games/questdir"
-#define _PATH_HACK "/var/games/hackdir"
+#include "config.h"
+
+#define _PATH_MAIL PREFIX"/bin/mail"
+#define _PATH_QUEST LOCALSTATEDIR"/games/questdir"
+#define _PATH_HACK LOCALSTATEDIR"/games/hackdir"