summaryrefslogtreecommitdiffstats
path: root/src/syrep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syrep.c')
-rw-r--r--src/syrep.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/syrep.c b/src/syrep.c
index 446c2c9..724f08a 100644
--- a/src/syrep.c
+++ b/src/syrep.c
@@ -18,7 +18,7 @@
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***/
-#include <stdint.h>
+#include <inttypes.h>
#include <limits.h>
#include <assert.h>
#include <malloc.h>
@@ -53,6 +53,12 @@
#include "makepatch.h"
#include "cleanup.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "svn-revision.h"
+
volatile int interrupted = 0;
struct gengetopt_args_info args;
@@ -533,7 +539,8 @@ static int version(const char *argv0) {
"%s "PACKAGE_VERSION"\n"
"Compiled with %i Bit off_t.\n"
"Compiled with zlib %s, linked to zlib %s.\n"
- "Compiled with libdb %i.%i.%i, linked to libdb %i.%i.%i\n",
+ "Compiled with libdb %i.%i.%i, linked to libdb %i.%i.%i\n"
+ "SVN Revision "SVN_REVISION"\n",
argv0,
sizeof(off_t)*8,
ZLIB_VERSION, zlibVersion(),