I was patching slock and came across a compilation error where the config.h had static variables that were not being recognized by the compiler when used in slock.c file.
Everything seems in order, the slock.c has #include config.h and the variable names in the header and application file are the same as well
Maybe someone with more knowledge in the C programming language can give some advice on the issue
Thank you for the replies @andreas85 and @Strit and sorry for the late response.
Thanks for providing the links regarding forum good practice, I will follow them the next time I use the forums.
I found what was causing the problem yesterday, After applying the patch, I forgot to remove the old config.h file. I am assuming that this prevented the generation of a new config.h file that included the changes from the applied patch.
simply : rm config.h
and recompiling the program did the trick.