Message-ID: <399F6256.A728FB53@hotmail.com> From: the Icefalcon Organization: Harumichi Otaku ... doko ni mo! X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: timeval @_@ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 17 Date: Sun, 20 Aug 2000 04:38:29 GMT NNTP-Posting-Host: 12.85.129.148 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc07-news.ops.worldnet.att.net 966746309 12.85.129.148 (Sun, 20 Aug 2000 04:38:29 GMT) NNTP-Posting-Date: Sun, 20 Aug 2000 04:38:29 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Well, good ol' nvi source is perplexing me again. cl_read.c declares a few variables of type timeval (a struct in time.h). Now, these are originally defined as "struct timeval"s, which gives me the pretty little make error "storage size of 'poll' is unknown" (where 'poll' is the name of one of the timeval objects). Commenting out the "struct" in "struct timeval" gives me "'timeval' undeclared". So, I did a nice little file search for all files containing "timeval" and found that it was defined (surprise, surprise) in . However, it's surrounded by some include guards - namely, #ifndef __dj_ENFORCE_ANSI_FREESTANDING, #ifndef __STRICT_ANSI__, and #ifndef _POSIX_SOURCE. Now, I actually am not sure when these are defined by default, but just in case I commented out all three of those and their corresponding #endifs. The "timeval undeclared" error did NOT go away. So ... what's going on? @_@ -- -|-E the Icefalcon