From: <mar...@us...> - 2009-07-01 17:47:19
|
Revision: 12180 http://gphoto.svn.sourceforge.net/gphoto/?rev=12180&view=rev Author: marcusmeissner Date: 2009-07-01 17:47:17 +0000 (Wed, 01 Jul 2009) Log Message: ----------- include <sys/select.h> if present Modified Paths: -------------- trunk/libgphoto2/libgphoto2_port/configure.ac trunk/libgphoto2/libgphoto2_port/serial/unix.c Modified: trunk/libgphoto2/libgphoto2_port/configure.ac =================================================================== --- trunk/libgphoto2/libgphoto2_port/configure.ac 2009-07-01 16:11:05 UTC (rev 12179) +++ trunk/libgphoto2/libgphoto2_port/configure.ac 2009-07-01 17:47:17 UTC (rev 12180) @@ -149,7 +149,7 @@ AC_C_CONST([]) AC_CHECK_HEADERS(stdlib.h unistd.h stdio.h fcntl.h errno.h sys/time.h \ - sys/param.h termios.h sgetty.h ttold.h ioctl-types.h \ + sys/param.h sys/select.h termios.h sgetty.h ttold.h ioctl-types.h \ fcntl.h sgtty.h sys/ioctl.h sys/time.h termio.h unistd.h \ endian.h byteswap.h asm/io.h mntent.h sys/mntent.h sys/mnttab.h) Modified: trunk/libgphoto2/libgphoto2_port/serial/unix.c =================================================================== --- trunk/libgphoto2/libgphoto2_port/serial/unix.c 2009-07-01 16:11:05 UTC (rev 12179) +++ trunk/libgphoto2/libgphoto2_port/serial/unix.c 2009-07-01 17:47:17 UTC (rev 12180) @@ -54,6 +54,9 @@ #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif +#ifdef HAVE_SYS_SELECT_H +# include <sys/select.h> +#endif #ifdef HAVE_TERMIOS_H # include <termios.h> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |