I'd prefer that both of you contribute to find out the root cause of the issue.
atiatinini, if you are trying to port SDL programs, you'll probably encounter other conflicts more difficult to identify and work around.
Yes, there are a few things that doesn't seem to work with Ndless, like srand(int) and rand();