Use PREFIX now
[bsdgames-darwin.git] / hunt / include / pathnames.h
index 2595c9a0bef7353c896e6289bc85e7706288328c..e8cdf276cfb702526d4502ef5379f20796c91f8c 100644 (file)
@@ -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"