encfsctl: define a default PATH_MAX

Unless it is already defined. Fixes build errors with musl libc.
This commit is contained in:
Jakob Unterwurzacher 2014-12-26 22:37:47 +01:00
parent 517c7bc948
commit f8a563bdcd

View File

@ -44,6 +44,10 @@
#include "i18n.h"
#include "shared_ptr.h"
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
using namespace rlog;
using namespace std;
using gnu::autosprintf;