-rw-r--r-- | tools/mididump.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mididump.cc b/tools/mididump.cc index 83b7086..604bcc0 100644 --- a/tools/mididump.cc +++ b/tools/mididump.cc @@ -1,29 +1,30 @@ #include <getopt.h> #include <iostream> #include <fstream> #include <string> #include <algorithm> +#include <cstring> using namespace std; #include <konforka/exception.h> #include <midillo/SMF.h> using namespace midillo; #include "config.h" #define PHEADER PACKAGE " " VERSION " - mididump - dump midi files" #define PCOPY "Copyright (c) 2006 Klever Group" static void usage(const char *p) { cerr << PHEADER << endl << PCOPY << endl << endl << " " << p << " [options] [<input-file>[ <output-file>]]" << endl << endl << " -h, --help" << endl << " --usage display this text" << endl << " -V, --version display version number" << endl << " -L, --license show license" << endl; } main(int argc,char **argv) { try { while(true) { static struct option opts[] = { { "help", no_argument, 0, 'h' }, |