misc.c: In function 'register_extension' misc.c: 'LONG' undeclared (first use this function) ... misc.c: 'HKEY' undeclared (first use this function) ... misc.c: 'HKEY_CURRENT_USER' undeclared (first use this function) ...
if I would add windows.h on top (because these are windows api variables) this link error would come:
misc.o:misc.c undefined reference to 'exe_name'
Refollowed what is updated in the wiki, but this still comes out.