Problems with compiling struct fd_set -- storage size isn't known

Brian Raymond Doherty (
Tue, 09 Jul 1996 00:03:43 -0500

The following test program is causing me problems under 2.0.4:

#include <sys/types.h>

int main() {
struct fd_set a;

When I try to compile it, I get:

thirteen:~# gcc -o test test.c
test.c: In function `main':
test.c:4: storage size of `a' isn't known

This program compiles cleanly under kernel 2.0.0.

Am I doing something wrong, or has something been broken?


 Brian R. Doherty       | "You know, I bet a funny thing about driving a
 6320 S. Main St.       | car off a cliff is, while you're in midair,
 Houston, TX 77006      | still hit those brakes!  Hey, better try the       | emergency brake!"                  -- Jack