diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2006-02-16 23:16:20 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2006-02-16 23:16:20 +0000 |
commit | 0bacb932c53a47b805f749e06b0a22c3f3dad144 (patch) | |
tree | 1df1587220ee815429daa07eb321d9d4002db10d /libgphoto2_port/ptpip | |
parent | cbc560d3148f9363b1059de70d76f96c401e6b9a (diff) | |
download | libgphoto2-0bacb932c53a47b805f749e06b0a22c3f3dad144.tar.gz |
some include guards, just in case.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8555 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/ptpip')
-rw-r--r-- | libgphoto2_port/ptpip/ptpip.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libgphoto2_port/ptpip/ptpip.c b/libgphoto2_port/ptpip/ptpip.c index 7668269be..5ce105118 100644 --- a/libgphoto2_port/ptpip/ptpip.c +++ b/libgphoto2_port/ptpip/ptpip.c @@ -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> |