X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=getopt.c;h=ee819c1490852040a61080e6accea52e614e6e03;hb=e7c54d38271d82a22940c3f149ca67c89437c789;hp=0f41fb692366816f1ac535b714c75cbca4ff9a8f;hpb=ddddca38e6b5cc65db086d636dad5da3f5b98bf2;p=pkg%2Fabook.git diff --git a/getopt.c b/getopt.c index 0f41fb6..ee819c1 100644 --- a/getopt.c +++ b/getopt.c @@ -43,6 +43,7 @@ #endif #include +#include /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C @@ -656,10 +657,12 @@ int _("%s: option `--%s' doesn't allow an argument\n"), argv[0], pfound->name); else + { /* +option or -option */ fprintf(stderr, _("%s: option `%c%s' doesn't allow an argument\n"), argv[0], argv[optind - 1][0], pfound->name); + } nextchar += strlen(nextchar);