--- a/src/base/msfactory.c	2017-08-23 16:55:57.967109716 +0200
+++ b/src/base/msfactory.c	2017-08-23 16:56:36.391111180 +0200
@@ -28,6 +28,9 @@
 #	define MS2_GIT_VERSION "unknown"
 #	endif
 #endif
+#ifndef MS2_GIT_VERSION
+#	define MS2_GIT_VERSION "unknown"
+#endif
 
 #include "mediastreamer2/msfilter.h"
 #include "mediastreamer2/mseventqueue.h"
