summaryrefslogtreecommitdiff
path: root/usbredirserver/usbredirserver.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-07-14 12:50:49 +0200
committerHans de Goede <hdegoede@redhat.com>2011-07-14 12:50:49 +0200
commitc0ff79717b0d7fd3b57694663249e8354b952e81 (patch)
tree87425c303e8c0489da281ebeb153058d634cee8a /usbredirserver/usbredirserver.c
parent1cbd2570f2fea8b917385ceee45a9b2233cc1331 (diff)
Add a USBREDIR_VERSION define and use it
Diffstat (limited to 'usbredirserver/usbredirserver.c')
-rw-r--r--usbredirserver/usbredirserver.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usbredirserver/usbredirserver.c b/usbredirserver/usbredirserver.c
index 2733748..117151a 100644
--- a/usbredirserver/usbredirserver.c
+++ b/usbredirserver/usbredirserver.c
@@ -35,9 +35,7 @@
#include <netdb.h>
#include "usbredirhost.h"
-#ifndef VERSION
-#define VERSION "usbredirserver 0.0"
-#endif
+#define VERSION "usbredirserver " USBREDIR_VERSION
static int verbose = usbredirparser_info;
static int client_fd, running = 1;