Dear all

I give the following error in the make procedure of my application in ubuntu 8.10 and 9.04:
Code:
error: ‘USHRT_MAX’ was not declared in this scope
When I run it on the other computer with ubuntu 8.04 , gcc (4.2.4) and g++ (4.2.4) it compiles well with out any error. also it have not error in fedora 10.
I try to install gcc 3.4 on my computer and compile with this but the situation was not change.
I don't know this problem comes from where but I am sure it is not from gcc.

I will appreciate any one who can help me.

ARH