From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,dde7dbc5d07e31d4,start X-Google-Attributes: gid111c93,public From: Marko Vendelin Subject: fd_set declarations Date: 1998/02/08 Message-ID: <34DDEB60.167E@ioc.ee>#1/1 X-Deja-AN: 323180502 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Eindhoven University of Technology, The Netherlands Newsgroups: comp.os.linux.alpha Hi, I've some troubles compiling Diffpack in RH 5.0. Namely, g++ (standard and egcs) fail to compile any C++ file that includes with the following messages: In file included from /usr/include/linux/types.h:4, from /usr/include/asm/socket.h:4, from /usr/include/socketbits.h:190, from /usr/include/sys/socket.h:34, from /usr/include/netinet/in.h:24, from /usr/include/rpc/types.h:57, from types.C:3: /usr/include/linux/posix_types.h:44: conflicting types for `struct fd_set' /usr/include/sys/select.h:48: previous declaration as `typedef struct __fd_set fd_set' It seems to me that this is a known problem (I've read some messages with the similar description) but I haven't found any answer in news archives. Hopefully this time the solution will be posted here. Thanks, Marko Vendelin