OSDN Git Service

cpio: make long opts depend only on ENABLE_GETOPT_LONG
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 16 Jul 2008 21:51:43 +0000 (21:51 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 16 Jul 2008 21:51:43 +0000 (21:51 -0000)
archival/cpio.c

index 9784121..ebe911a 100644 (file)
@@ -262,7 +262,7 @@ int cpio_main(int argc UNUSED_PARAM, char **argv)
                CPIO_OPT_FORMAT             = (1 << 8),
        };
 
-#if ENABLE_GETOPT_LONG && ENABLE_DESKTOP
+#if ENABLE_GETOPT_LONG
        applet_long_options =
                "extract\0"      No_argument       "i"
                "list\0"         No_argument       "t"