From: Paul Eggert Date: Tue, 21 Sep 2004 22:04:31 +0000 (+0000) Subject: Include . X-Git-Tag: v5.3.0~659 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b78d6f6d9224713f2003f39aaf640743408bcaae;p=thirdparty%2Fcoreutils.git Include . (main): Use getopt where it suffices, not getopt_long. --- diff --git a/src/chroot.c b/src/chroot.c index e8933ace5c..25790081b7 100644 --- a/src/chroot.c +++ b/src/chroot.c @@ -18,6 +18,7 @@ /* Written by Roland McGrath. */ #include +#include #include #include @@ -75,8 +76,7 @@ main (int argc, char **argv) parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, usage, AUTHORS, (char const *) NULL); - - if (getopt_long (argc, argv, "+", NULL, NULL) != -1) + if (getopt (argc, argv, "+") != -1) usage (EXIT_FAIL); if (argc <= optind)