diff --git a/source/src/entity.h b/source/src/entity.h index 3a4af00b..e118d16d 100644 --- a/source/src/entity.h +++ b/source/src/entity.h @@ -650,6 +650,7 @@ inline const char *killmessage(int gun, bool gib = false) return killmessages[gib?1:0][gun]; } +#ifndef STANDALONE struct pckserver { char *addr; @@ -671,3 +672,4 @@ struct package package() : name(NULL), type(-1), number(0), pending(false), source(NULL), curl(NULL) {} }; +#endif \ No newline at end of file diff --git a/source/src/platform.h b/source/src/platform.h index 89f5e09c..aece7e24 100644 --- a/source/src/platform.h +++ b/source/src/platform.h @@ -75,4 +75,6 @@ #ifndef CURL_STATICLIB #define CURL_STATICLIB #endif +#ifndef STANDALONE #include "curl/curl.h" +#endif