X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fmemerror.c;h=fbad55ba2f00245d2182bcbda522ee20c3428647;hb=36f17e820b2f927983502717be3e83513dd6b3ab;hp=5654c212bc75670e9f27c82c865f20f024dfcdc0;hpb=2b312deb8b7b3f662b492f94a13e673723387724;p=m6w6%2Flibmemcached diff --git a/clients/memerror.c b/clients/memerror.c index 5654c212..fbad55ba 100644 --- a/clients/memerror.c +++ b/clients/memerror.c @@ -1,3 +1,4 @@ +#include "libmemcached/common.h" #include #include #include @@ -42,10 +43,10 @@ void options_parse(int argc, char *argv[]) static struct option long_options[]= { - {"version", no_argument, NULL, OPT_VERSION}, - {"help", no_argument, NULL, OPT_HELP}, - {"verbose", no_argument, &opt_verbose, OPT_VERBOSE}, - {"debug", no_argument, &opt_verbose, OPT_DEBUG}, + {(OPTIONSTRING)"version", no_argument, NULL, OPT_VERSION}, + {(OPTIONSTRING)"help", no_argument, NULL, OPT_HELP}, + {(OPTIONSTRING)"verbose", no_argument, &opt_verbose, OPT_VERBOSE}, + {(OPTIONSTRING)"debug", no_argument, &opt_verbose, OPT_DEBUG}, {0, 0, 0, 0}, };