https://bugs.gentoo.org/679332 diff --git a/configure.ac b/configure.ac index ed76a66..b0db85c 100644 --- a/configure.ac +++ b/configure.ac @@ -141,7 +141,7 @@ AC_ARG_WITH([cdk-prefix],AS_HELP_STRING([--with-cdk-prefix=PREFIX], if $try_cdk; then CPPFLAGS_save="$CPPFLAGS" CPPFLAGS="-I$cdk_prefix/include $CPPFLAGS" - AC_CHECK_HEADER([cdk/cdk.h], [ + AC_CHECK_HEADER([cdk.h], [ have_cdk=: AC_PATH_PROG([CDK_CONFIG], [cdk5-config]) if test -n "${CDK_CONFIG}"; then diff --git a/gphoto2/gphoto2-cmd-config.c b/gphoto2/gphoto2-cmd-config.c index 360fd61..c801604 100644 --- a/gphoto2/gphoto2-cmd-config.c +++ b/gphoto2/gphoto2-cmd-config.c @@ -29,7 +29,7 @@ #include -#include +#include #ifndef MAX # define MAX(a, b) ((a) > (b) ? (a) : (b)) --