debian/patches/posixness_fix
raw| 1 | Index: patchutils-0.3.1/src/util.c |
| 2 | =================================================================== |
| 3 | --- patchutils-0.3.1.orig/src/util.c 2009-05-25 00:56:34.000000000 +0200 |
| 4 | +++ patchutils-0.3.1/src/util.c 2009-05-25 00:56:55.000000000 +0200 |
| 5 | @@ -48,6 +48,10 @@ |
| 6 | |
| 7 | #include "util.h" |
| 8 | |
| 9 | +#ifndef PATH_MAX |
| 10 | +#define PATH_MAX 4096 |
| 11 | +#endif |
| 12 | + |
| 13 | /* safe malloc */ |
| 14 | void *xmalloc (size_t size) |
| 15 | { |