diff options
Diffstat (limited to 'sed.c')
-rw-r--r-- | sed.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -52,6 +52,9 @@ | |||
52 | #include <ctype.h> /* for isspace() */ | 52 | #include <ctype.h> /* for isspace() */ |
53 | #include "internal.h" | 53 | #include "internal.h" |
54 | 54 | ||
55 | #define bb_need_full_version | ||
56 | #define BB_DECLARE_EXTERN | ||
57 | #include "messages.c" | ||
55 | 58 | ||
56 | /* externs */ | 59 | /* externs */ |
57 | extern int optind; /* in unistd.h */ | 60 | extern int optind; /* in unistd.h */ |
@@ -676,7 +679,7 @@ extern int sed_main(int argc, char **argv) | |||
676 | while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { | 679 | while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { |
677 | switch (opt) { | 680 | switch (opt) { |
678 | case 'V': | 681 | case 'V': |
679 | printf("BusyBox v%s (%s)\n", BB_VER, BB_BT); | 682 | printf("%s\n", full_version); |
680 | exit(0); | 683 | exit(0); |
681 | break; | 684 | break; |
682 | case 'h': | 685 | case 'h': |