Fix for errors/warnings under linux against bibo patch rollup 327317. Also, I've tried to sort out some of the worst inconsistencies in the indentation in rcx_comm.c as it was driving me nuts. It's still a mess, but at least now there exists a tab setting (4) where all indentation is positive and even mostly consistent within each block. Some of the changes: don't use the undefined fd_winux on linux, memcmp -> strncmp for tty check (a bit silly, but it *could* crash on very short strings with memcmp), call dsound_wait (not wait_event) in demo/memtest.c, make realclean really cleans up demo/, added some includes and definitions to get rid of warnings about undefined functions (mostly for lnp-related stuff).
This patch has been incorporated into the Bibo Rollup Release. Please see http://news.lugnet.com/robotics/rcx/legos/?n=4057 for more information.