about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2014-03-06 02:06:22 +0200
committerDmitry Podgorny <pasis.ua@gmail.com>2014-03-06 02:06:22 +0200
commit0fbaa6f5eee9649e245f70657a40760f37ad6fda (patch)
treec1627865a441f879afedb38d60cd3613800ec412 /src/xmpp
parenta9e20289813396249b6f57c04035ed505e672337 (diff)
downloadprofani-tty-0fbaa6f5eee9649e245f70657a40760f37ad6fda.tar.gz
fixed build error when make run with -jN option
Race can occur when gitversion file isn't fully generated before
it is used.
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/capabilities.c2
-rw-r--r--src/xmpp/iq.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c
index fc71ae54..3c286ac8 100644
--- a/src/xmpp/capabilities.c
+++ b/src/xmpp/capabilities.c
@@ -23,7 +23,7 @@
 #include "config.h"
 
 #ifdef HAVE_GIT_VERSION
-#include "gitversion.c"
+#include "gitversion.h"
 #endif
 
 #include <stdlib.h>
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 3766d2c4..7c8a61c4 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -23,7 +23,7 @@
 #include "config.h"
 
 #ifdef HAVE_GIT_VERSION
-#include "gitversion.c"
+#include "gitversion.h"
 #endif
 
 #include <stdlib.h>