>> > > Oh, now I see where the problem is. There are several includes named ucontext.h > > Lukas > OK, that's not the problem. I tried compiling it with -save-temps option passed to gcc and I see that the correct file is included but for some reason the #ifdef __USE_GNU part is not included even though __USE_GNU is defined before #include <ucontext.h> Any ideas?