ports/converters/mpack/patches/patch-unixunpk_c

21 lines
510 B
Text

Index: unixunpk.c
--- unixunpk.c.orig
+++ unixunpk.c
@@ -23,6 +23,8 @@
* SOFTWARE.
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
#include "version.h"
#include "part.h"
@@ -100,7 +102,7 @@ int main(int argc, char **argv)
void usage(void) {
fprintf(stderr, "munpack version %s\n", MPACK_VERSION);
- fprintf(stderr, "usage: munpack [-f] [-q] [-C directory] [files...]\n");
+ fprintf(stderr, "usage: munpack [-f] [-q] [-t] [-C directory] [files...]\n");
exit(1);
}