Nicolae Babanu wrote:

Hello!
Can anybody say what the problem's cause is and what the remedies can be?

I need to include a heaher file into nsSocketTransoprtService where to call some MyDLL that uses sockets, that I want to be called from necko.dll. But the compilations stops with error saying "in_add type (used in MyDLL's header file) is missing storage class or type specifier". I understand, that means the in_add is not defined, even my header file I use includes <winsock2.h> where in_add type is defined (compiling under Win2k).

Does this have to do with some #define directive or macro Mozilla use inits compilation process?
Should I include my header not in nsSocketTransoprtService.h but another file, earlier, that will be called from SocketTransoprtService?



Any help will be welcome:)

Nicu.
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib


I think you need to provide more specifics. How about providing a simplified testcase?

-Darin
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to