mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
generic: Hurd build fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
25a831cbf0
commit
f437919274
2 changed files with 5 additions and 6 deletions
|
@ -65,11 +65,7 @@ extern char **environ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
# ifdef MAXPATHLEN
|
# define PATH_MAX _POSIX_PATH_MAX
|
||||||
# define PATH_MAX MAXPATHLEN
|
|
||||||
# else
|
|
||||||
# define PATH_MAX 1024
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
|
@ -55,10 +55,13 @@
|
||||||
|
|
||||||
#include "nfsv3.h"
|
#include "nfsv3.h"
|
||||||
|
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
# define PATH_MAX _POSIX_PATH_MAX
|
||||||
|
#endif
|
||||||
|
|
||||||
// This ioslave is for NFS version 3.
|
// This ioslave is for NFS version 3.
|
||||||
#define NFSPROG 100003UL
|
#define NFSPROG 100003UL
|
||||||
#define NFSVERS 3UL
|
#define NFSVERS 3UL
|
||||||
|
|
||||||
#define NFS3_MAXDATA 32768
|
#define NFS3_MAXDATA 32768
|
||||||
#define NFS3_MAXPATHLEN PATH_MAX
|
#define NFS3_MAXPATHLEN PATH_MAX
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue