summaryrefslogtreecommitdiffstats
path: root/hunt/include/pathnames.h
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-03-28 14:39:02 -0400
committerCameron Katri <me@cameronkatri.com>2021-03-28 14:39:02 -0400
commit23454acb66be2a88647262d98d50e0f115519ea0 (patch)
treec593751ce3649be2e502fac3e080d6c0045b9fa0 /hunt/include/pathnames.h
parent08eca96e71d96ad1f8e9b888875ab5570f208d19 (diff)
downloadbsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.gz
bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.zst
bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.zip
Use PREFIX now
Diffstat (limited to 'hunt/include/pathnames.h')
-rw-r--r--hunt/include/pathnames.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hunt/include/pathnames.h b/hunt/include/pathnames.h
index 2595c9a0..e8cdf276 100644
--- a/hunt/include/pathnames.h
+++ b/hunt/include/pathnames.h
@@ -30,6 +30,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#define PATH_HUNTD "/usr/games/huntd"
+#include "config.h"
+
+#define PATH_HUNTD PREFIX"/games/huntd"
#define PATH_HUNTSOCKET "/tmp/hunt"
#define PATH_STATSOCKET "/tmp/hunt.stats"