Define PATH_MAX if it's not defined

Fixes FTBFS on Hurd.

[Dirk Hohndel: changed PATH_MAX to 4096 for consistency with Linux]

Signed-off-by: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Salvo 'LtWorf' Tomaselli 2014-08-27 23:12:05 +02:00 committed by Dirk Hohndel
parent 6bb6e43846
commit 2a1a640227

View file

@ -29,6 +29,10 @@
#include <QUrlQuery>
#endif
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
struct dive_table gps_location_table;
static bool merge_locations_into_dives(void);