Well, it seems that we have a bit of a problem building Wine 0.9.17 on Gentoo...
make[2]: Entering directory `/var/tmp/portage/wine-0.9.17/work/wine-0.9.17/dlls/gphoto2.ds' ../../tools/makedep -I. -I. -I../../include -I../../include -I/usr/include/gphoto2 -I/usr/include -I/usr/include/gphoto2 -I/usr/include -C. capability.c ds_ctrl.c ds_image.c gphoto2_main.c ui.c rsrc.rc /usr/include/io.h:29: config.h must not be included by a header file make[2]: *** [depend] Error 1 make[2]: Leaving directory `/var/tmp/portage/wine-0.9.17/work/wine-0.9.17/dlls/gphoto2.ds' make[1]: *** [gphoto2.ds/__depend__] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-0.9.17/work/wine-0.9.17/dlls' make: *** [dlls/__depend__] Error 2
I don't know if this is my fault, or what, because I have recently reinstalled gphoto2 from scratch.