From 8854e46a50a0272578599d2fcd8d1fb363e19c38 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 23 Jan 2017 11:03:56 +0100 Subject: Add a git suffix to the version number used by all programs. This uses a setlocalversion script derived from the kernel's scripts/setlocalversion. Signed-off-by: Ralf Baechle --- ax25/axgetput/axgetput.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ax25/axgetput/axgetput.c') diff --git a/ax25/axgetput/axgetput.c b/ax25/axgetput/axgetput.c index de21bc5..8620c72 100644 --- a/ax25/axgetput/axgetput.c +++ b/ax25/axgetput/axgetput.c @@ -17,6 +17,7 @@ #ifdef HAVE_CONFIG_H #include #endif +#include #include "includes.h" @@ -144,7 +145,7 @@ static void signal_handler(int sig) void do_version(void) { - fprintf(stderr, MYNAME " " VERSION "\n"); + fprintf(stderr, MYNAME " " FULL_VER "\n"); fprintf(stderr, " (c) 2002 Thomas Osterried \n"); fprintf(stderr, " License: GPL. See http://www.fsf.org/\n"); fprintf(stderr, " Sources: http://x-berg.in-berlin.de/cgi-bin/viewcvs.cgi/ampr/axgetput/\n"); -- cgit v1.2.3