This is a discussion on u_short undefined - Embedded ; Hi, I'm to compile a program that uses the u_short type synonim on my ubuntu hoary box. 'make' stops with complaining about lacking a definition for u_short. I've tracked down what the problem is and found that #undefs __USE_BSD which ...
Hi,
I'm to compile a program that uses the u_short type synonim on my
ubuntu hoary box. 'make' stops with complaining about lacking a
definition for u_short. I've tracked down what the problem is and
found that#undefs __USE_BSD which is important for the
definition of u_short in. Is it a proper act from
to do so? Is this a special feature of ubuntu?
Thanks in advance
Cheers
- Gergely
ps: is _BSD_SOURCE a proper #define for Linux, especially ubuntu?