# HG changeset patch # User Paper # Date 1643767289 18000 # Node ID a4e604789e2e9f208385c8f3fcf2e25d377a626c # Parent d2cd8c5672fa14ea4f2fefe065bad45ef076fdba Multiple changes Move non-required includes from common.h to CLI and fix GUI compatibility with MSVC diff -r d2cd8c5672fa -r a4e604789e2e include/common.h --- a/include/common.h Wed Jan 26 23:12:41 2022 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -#include -#include - -static struct option options_long[5]; -char* strremove(char* str, const char* sub); -void set_data(unsigned char magic[], uint16_t version, FILE* target); -int copy_file(char* source_file, char* target_file); diff -r d2cd8c5672fa -r a4e604789e2e src/main.c --- a/src/main.c Wed Jan 26 23:12:41 2022 -0500 +++ b/src/main.c Tue Feb 01 21:01:29 2022 -0500 @@ -1,13 +1,10 @@ -/* Movie Studio / Vegas Pro version spoofer - * by Paper -*/ - #include #include #include #include #include -#include "../include/common.h" +#include +#include #ifdef _MSC_VER #define strdup(p) _strdup(p) #endif