about summary refs log tree commit diff stats
path: root/src/main.c
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/main.c
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/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 7796ed96..1c9e7926 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,7 +24,7 @@
 
 #include "config.h"
 #ifdef HAVE_GIT_VERSION
-#include "gitversion.c"
+#include "gitversion.h"
 #endif
 
 #include "profanity.h"