From: Marcus M. <mar...@us...> - 2006-02-16 23:16:23
|
Update of /cvsroot/gphoto/libgphoto2/libgphoto2_port/ptpip In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28644 Modified Files: ptpip.c Log Message: some include guards, just in case. Index: ptpip.c =================================================================== RCS file: /cvsroot/gphoto/libgphoto2/libgphoto2_port/ptpip/ptpip.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -d -r1.1 -r1.2 --- ptpip.c 16 Feb 2006 22:38:47 -0000 1.1 +++ ptpip.c 16 Feb 2006 23:16:20 -0000 1.2 @@ -25,10 +25,16 @@ #include <stdlib.h> #include <unistd.h> #include <stdio.h> -#include <fcntl.h> +#ifdef HAVE_FCNTL_H +# include <fcntl.h> +#endif #include <errno.h> -#include <sys/time.h> -#include <sys/param.h> +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif +#ifdef HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif #include <string.h> #include <gphoto2-port.h> |