summaryrefslogtreecommitdiff
path: root/xmh.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-10-12 22:30:31 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-10-12 22:30:31 -0700
commitb7bbad1569cc0f6936a24fc00d2a7eb8ca586d21 (patch)
tree1dd7bbcf37623cffb3bbb64a677d99ac4860c795 /xmh.h
parent69966ca6ee5b147bcec27903fb7149261b00b512 (diff)
Use PACKAGE_STRING from config.h for version instead of -D flags in Makefile
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'xmh.h')
-rw-r--r--xmh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmh.h b/xmh.h
index 5c5d67d..f605b49 100644
--- a/xmh.h
+++ b/xmh.h
@@ -29,6 +29,9 @@
#ifndef _xmh_h
#define _xmh_h
+#include "config.h"
+#define XMH_VERSION PACKAGE_STRING
+
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>