nixpkgs/pkgs/tools/text/replace/malloc.patch
Eelco Dolstra c9f2559e30 * Don't include <malloc.h>, it doesn't exist on all platforms.
svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10803
2008-02-21 14:01:19 +00:00

14 lines
388 B
Diff

diff -rc replace-2.24-orig/replace.h replace-2.24/replace.h
*** replace-2.24-orig/replace.h 2004-10-07 15:15:06.000000000 +0200
--- replace-2.24/replace.h 2008-02-21 14:57:47.000000000 +0100
***************
*** 11,17 ****
#include <ctype.h>
#include <unistd.h>
#include <string.h>
- #include <malloc.h>
#include <sys/stat.h>
#include <ftw.h>
#include <utime.h>
--- 11,16 ----