Define PATH_MAX for GNU/hurd

Otherwise fails with
"> linux/LinuxProcessList.c:889:20: error: ‘PATH_MAX’ undeclared (first use in this function)"
This commit is contained in:
Daniel Lange
2021-01-14 13:27:47 +01:00
committed by BenBE
parent 1f20c0fb3d
commit 71f51a20c1
3 changed files with 8 additions and 1 deletions

View File

@ -43,6 +43,7 @@ in the source distribution for its full text.
#include "LinuxProcess.h"
#include "Macros.h"
#include "Object.h"
#include "Platform.h" // needed for GNU/hurd to get PATH_MAX
#include "Process.h"
#include "Settings.h"
#include "XUtils.h"