lhapdf/lhapdf-path-max.patch
2013-06-05 17:48:25 +02:00

13 lines
218 B
Diff

--- a/src/binreloc.c
+++ b/src/binreloc.c
@@ -24,6 +24,10 @@
#include <string.h>
#include "binreloc.h"
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */