summaryrefslogtreecommitdiff
path: root/src/getht.c
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-03-05 05:55:00 +0000
committerNick White <git@njw.me.uk>2009-03-05 05:55:00 +0000
commitb1b534d46e61603b46a89ead3891c1f860be2625 (patch)
treeb69728660e3c9e364f368efb3a48a5993022e359 /src/getht.c
parent6a7da14fe5b1f8666ee7e3994fbd975e83f7b43a (diff)
Use autoconf variables in code
Diffstat (limited to 'src/getht.c')
-rw-r--r--src/getht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getht.c b/src/getht.c
index 63ba956..f18d390 100644
--- a/src/getht.c
+++ b/src/getht.c
@@ -18,6 +18,7 @@
*
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -26,7 +27,6 @@
#include <sys/stat.h>
#include <curl/curl.h>
-#include "version.h"
#include "issue.h"
#include "getht.h"
@@ -133,7 +133,7 @@ int main(int argc, char *argv[])
option = 1;
break;
case 'V':
- printf("GetHT version: %s\n",VERSION);
+ printf("GetHT version: %s\n",PACKAGE_VERSION);
option = 1;
return 0;
break;