diff options
Diffstat (limited to 'rmt/rmt.c')
-rw-r--r-- | rmt/rmt.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -55,8 +55,11 @@ It must hold enough for any integer, possibly with a sign. */ #define STRING_SIZE (UINTMAX_STRSIZE_BOUND + 1) -/* Name of executing program. */ -const char *program_name; +#ifdef HAVE_DECL_PROGRAM_INVOCATION_NAME +# define program_name program_invocation_name +#else +extern char *program_name; +#endif /* File descriptor of the tape device, or negative if none open. */ static int tape = -1; |