aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-11-21 12:26:10 +0100
committerJan200101 <sentrycraft123@gmail.com>2020-11-21 12:26:10 +0100
commit79fd4e76c6a2e572236bbc7e7b848f5d46242845 (patch)
treef23c52bac22f1ed600517fd6b6ca7121e8c9b3d0
parentf04dd5c8669abafff7f4a17eecf560254b7ed27e (diff)
downloadpolecat-79fd4e76c6a2e572236bbc7e7b848f5d46242845.tar.gz
polecat-79fd4e76c6a2e572236bbc7e7b848f5d46242845.zip
add required header to tar.h, quote default string and version number
-rw-r--r--src/common.h4
-rw-r--r--src/tar.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index 1d4c70b..fdd5ac2 100644
--- a/src/common.h
+++ b/src/common.h
@@ -14,12 +14,12 @@
#define INSTALLER_API "https://lutris.net/api/installers/"
#ifndef NAME
-#warning "no name specified, setting it to polecat"
+#warning "no name specified, setting it to \"polecat\""
#define NAME "polecat"
#endif
#ifndef VERSION
-#warning "no version specified, setting it to 0.0.0"
+#warning "no version specified, setting it to \"0.0.0\""
#define VERSION "0.0.0"
#endif
diff --git a/src/tar.h b/src/tar.h
index ab68566..a91a344 100644
--- a/src/tar.h
+++ b/src/tar.h
@@ -1,6 +1,8 @@
#ifndef TAR_H
#define TAR_H
+#include "common.h"
+
void extract(const struct MemoryStruct* tar, const char* outputdir);
#endif \ No newline at end of file