summaryrefslogtreecommitdiff
path: root/lib/common/MainHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/MainHelper.h')
-rw-r--r--lib/common/MainHelper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common/MainHelper.h b/lib/common/MainHelper.h
index 3c973624..3c6e9ff0 100644
--- a/lib/common/MainHelper.h
+++ b/lib/common/MainHelper.h
@@ -12,6 +12,10 @@
#include <stdio.h>
+#ifdef NEED_BOX_VERSION_H
+# include "BoxVersion.h"
+#endif
+
#include "BoxException.h"
#include "Logging.h"
@@ -21,6 +25,7 @@
MEMLEAKFINDER_INIT \
MEMLEAKFINDER_START \
try {
+
#define MAINHELPER_END \
} catch(std::exception &e) { \
BOX_FATAL(e.what()); \