Trying to build on FreeBSD I got the following errors:
gtk3-nocsd.c:392:5: warning: implicit declaration of function 'ElfW' is invalid in C99 [-Wimplicit-function-declaration]
ElfW(Half) n;
^
gtk3-nocsd.c:392:10: error: use of undeclared identifier 'Half'
ElfW(Half) n;
^
gtk3-nocsd.c:395:14: error: use of undeclared identifier 'n'
for (n = 0; n < info->dlpi_phnum; n++) {
^
gtk3-nocsd.c:395:21: error: use of undeclared identifier 'n'
for (n = 0; n < info->dlpi_phnum; n++) {
^
gtk3-nocsd.c:395:43: error: use of undeclared identifier 'n'
for (n = 0; n < info->dlpi_phnum; n++) {
^
gtk3-nocsd.c:396:78: error: use of undeclared identifier 'n'
uintptr_t start = (uintptr_t) (info->dlpi_addr + info->dlpi_phdr[n].p_vaddr);
^
gtk3-nocsd.c:397:67: error: use of undeclared identifier 'n'
uintptr_t end = start + (uintptr_t) info->dlpi_phdr[n].p_memsz;
^
1 warning and 6 errors generated.
gmake: *** [Makefile:25: gtk3-nocsd.o] Error 1
Trying to build on FreeBSD I got the following errors: