diff options
Diffstat (limited to 'security/lsh/files/patch-argp-help.c')
-rw-r--r-- | security/lsh/files/patch-argp-help.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/security/lsh/files/patch-argp-help.c b/security/lsh/files/patch-argp-help.c new file mode 100644 index 000000000000..ea25b96b774f --- /dev/null +++ b/security/lsh/files/patch-argp-help.c @@ -0,0 +1,21 @@ +--- src/argp/argp-help.c.orig Wed Feb 2 15:14:31 2000 ++++ src/argp/argp-help.c Tue Dec 17 13:08:02 2002 +@@ -56,7 +56,9 @@ + #include <string.h> + #include <assert.h> + #include <stdarg.h> ++#ifndef __FreeBSD__ + #include <malloc.h> ++#endif + #include <ctype.h> + + #ifndef _ +@@ -182,7 +184,7 @@ + { "header-col", 0, offsetof (struct uparams, header_col) }, + { "usage-indent", 0, offsetof (struct uparams, usage_indent) }, + { "rmargin", 0, offsetof (struct uparams, rmargin) }, +- { 0 } ++ { 0, 0, 0 } + }; + + /* Read user options from the environment, and fill in UPARAMS appropiately. */ |