diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c index ee9555065..743cd5642 100644 --- a/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c +++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c @@ -31,6 +31,8 @@ #include #ifdef HAVE_REGEX #include +#elif defined(_MSC_VER) +#pragma message("We need regex.h, but it has not been detected.") #else #warning We need regex.h, but it has not been detected. #endif