Add the bzr version number to non release builds
[onak.git] / keyd.c
diff --git a/keyd.c b/keyd.c
index c2d83491ea91fc6e23dcd75ee57ff0a9bbef1ec9..1a349a600b8d78b836bc7249f444de523b29e8ac 100644 (file)
--- a/keyd.c
+++ b/keyd.c
@@ -19,7 +19,6 @@
 #include <sys/un.h>
 #include <unistd.h>
 
-#include "config.h"
 #include "charfuncs.h"
 #include "cleanup.h"
 #include "keyd.h"
@@ -30,6 +29,7 @@
 #include "mem.h"
 #include "onak-conf.h"
 #include "parsekey.h"
+#include "version.h"
 
 void daemonize(void)
 {
@@ -381,7 +381,7 @@ int sock_accept(int fd)
 
 static void usage(void)
 {
-       puts("keyd " PACKAGE_VERSION " - backend key serving daemon for the "
+       puts("keyd " ONAK_VERSION " - backend key serving daemon for the "
                "onak PGP keyserver.\n");
        puts("Usage:\n");
        puts("\tkeyd [options]\n");