--- libgphoto2-2.4.0/libgphoto2_port/serial/unix.c~ 2007-07-27 02:36:13.000000000 +0200 +++ libgphoto2-2.4.0/libgphoto2_port/serial/unix.c 2007-10-24 14:32:37.000000000 +0200 @@ -53,6 +53,7 @@ #endif #ifdef HAVE_TERMIOS_H +# define __USE_BSD # include # ifndef CRTSCTS # define CRTSCTS 020000000000