summaryrefslogtreecommitdiff
path: root/app/xman/handler.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-10-31 20:01:15 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-10-31 20:01:15 +0000
commit6e5d8d8f95e6548386a761230b907670f861edae (patch)
tree893c085ced8fca794705604de4a08e57004429d2 /app/xman/handler.c
parent2d71cfb6bc8c841d91c2815148c725c613bec54a (diff)
Update to xman 1.1.1. No functional change.
Diffstat (limited to 'app/xman/handler.c')
-rw-r--r--app/xman/handler.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/xman/handler.c b/app/xman/handler.c
index 497a76818..cf2d83a74 100644
--- a/app/xman/handler.c
+++ b/app/xman/handler.c
@@ -35,6 +35,9 @@ from the X Consortium.
* Author: Chris D. Peterson, MIT Project Athena
* Created: October 29, 1987
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <sys/types.h>
#include <sys/stat.h>
@@ -45,6 +48,12 @@ from the X Consortium.
#include "print.h"
#endif /* INCLUDE_XPRINT_SUPPORT */
+#ifdef RELEASE_VERSION
+#define XMAN_VERSION "Xman Version " PACKAGE_VERSION " - X11R" RELEASE_VERSION
+#else
+#define XMAN_VERSION "Xman Version " PACKAGE_VERSION
+#endif
+
static void PutUpManpage(ManpageGlobals * man_globals, FILE * file);
static void ToggleBothShownState(ManpageGlobals * man_globals);