a few files in gdb/gdbtk/generic/ pull in sys/ioctl.h for no reason (that i can tell). they arent actually using ioctl() and this breaks my mingw build. -mike