|
From: Florian K. <br...@ac...> - 2006-11-25 15:24:40
|
This patch picks up the definition of PATH_MAX from linux/limits.h. Index: coregrind/launcher-linux.c =================================================================== --- coregrind/launcher-linux.c (revision 6371) +++ coregrind/launcher-linux.c (working copy) @@ -44,6 +44,7 @@ #include <sys/mman.h> #include <sys/user.h> #include <unistd.h> +#include <linux/limits.h> #include "pub_core_debuglog.h" #include "pub_core_vki.h" // Avoids warnings from @@ -53,9 +54,6 @@ -#define PATH_MAX 4096 /* POSIX refers to this a lot but I dunno - where it is defined */ - #ifndef EM_X86_64 #define EM_X86_64 62 // elf.h doesn't define this on some older systems #endif |