aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'version_info.c')
-rw-r--r--version_info.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/version_info.c b/version_info.c
index 0e6af95fe5..11a069113c 100644
--- a/version_info.c
+++ b/version_info.c
@@ -73,6 +73,15 @@
#include "version_info.h"
#include "pcap-util.h"
+#include "svnversion.h"
+
+#ifdef SVNVERSION
+ const char *svnversion = " (" SVNVERSION ")";
+#else
+ const char *svnversion = "";
+#endif
+
+
/*
* See whether the last line in the string goes past column 80; if so,
* replace the blank at the specified point with a newline.