diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-08 18:48:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-08 18:48:32 +0000 |
commit | 4f50b01ce988863ddcd01157bf9916b272dd61d7 (patch) | |
tree | 1e9d4310b5ae7963f6738c6e7403d348a27462bd /graphics/denemo/patches | |
parent | b0ec000fad423d16538c5f6077566ddffa2c5ad5 (diff) | |
download | pkgsrc-4f50b01ce988863ddcd01157bf9916b272dd61d7.tar.gz |
Don't use malloc.h.
Diffstat (limited to 'graphics/denemo/patches')
-rw-r--r-- | graphics/denemo/patches/patch-ab | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/denemo/patches/patch-ab b/graphics/denemo/patches/patch-ab new file mode 100644 index 00000000000..8a2ca3a1983 --- /dev/null +++ b/graphics/denemo/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.3 2007/08/08 18:48:32 joerg Exp $ + +--- src/file.c.orig 2007-08-08 18:23:41.000000000 +0000 ++++ src/file.c +@@ -31,12 +31,12 @@ + #include "binreloc.h" + #include "view.h" + ++#include <stdlib.h> + #include <stdio.h> + #include <string.h> + #include <sys/stat.h> /* check existance and type of files */ + #include <dirent.h> /* filter and sort filenames */ + #include <fnmatch.h> /* find filenames matches */ +-#include <malloc.h> /* I use free() */ + + + typedef enum |