From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Stephens To: sourcenav@sources.redhat.com Subject: Re: include file problems Date: Wed, 29 Nov 2000 04:10:00 -0000 Message-id: References: <00112911400200.00884@irios> <00112913010300.01118@irios> X-SW-Source: 2000-q4/msg00285.html Nacho de los Ríos Tormo writes: [...] > Dumb me! Why not add the whole /usr/include and all its > subdirectories in one go with the project editor? .... Well, I've > done so, so all involved files MUST now be included in the > project. Still I get the same compilation errors: > > dos_in_lin.c: In function 'get_time_ms' > dos_in_lin.c: 30: 'timeval' undeclared (first use in this function) > .... > make: *** [dos_in_lin.o] Error 1 > +++ End +++ That's a compiler error: it's got nothing to do with Source Navigator. SN doesn't tell the compiler what header files to use. Something like this ought to compile, regardless of what include files Source Navigator finds: #include void foo() { struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz); } -- Bruce Stephens Bruce.Stephens@MessagingDirect.com MessagingDirect(UK) Ltd