This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Trouble with include path


Hi! All,
I am facing a problem due to the wrong path for system
header files. I am trying to use header file
<socket.h>. This file has a include statement for
header file <if.h>.
The error given by compiler is 
"if.h:63: parse error before `caddr_t`"

As I believe this is due to non declaration of caddr_t
structure. It has been declared in file
"cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\sys\types.h".
But the compiler is picking up this file from area
"cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\mingw32\sys\types.h"

Can anybody tell me how can I configure the compiler
so that it picks the file <types.h> from "include\sys"
instead of "include\mingw32\sys"?

Thanks a lot
Rahul
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]