i found this problem (maybe bug) in freebsd 4.7 stable
i have two programs uses sys/select.h and sys/types.h:

example 1:
#include <sys/select.h>
#include <sys/types.h>

int main(void) {
}

example 2:
#include <sys/types.h>
#include <sys/select.h>

int main(void) {
}

first example returns this error messages:

In file included from /usr/include/sys/select.h:40,
                 from test.c:1:
/usr/include/sys/event.h:52: syntax error before `uintptr_t'
/usr/include/sys/event.h:54: syntax error before `u_short'
In file included from pokus.c:1:
/usr/include/sys/select.h:47: syntax error before `pid_t'

but second is ok.

i don't have tested this in 5.0 release yet.

-- 
-----------------------------------------
Darklord - DT Project Manager & Developer
E-mail: [EMAIL PROTECTED]
-----------------------------------------



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to