Ported to Linux.

OpenBSD's sys/queue.h was merged into the sources tree, since it's a BSD header
missing in most Linux C libraries.

The shell compiles and seems to work, under eglibc 2.17.