summaryrefslogtreecommitdiff
path: root/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c')
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c2
1 files changed, 2 insertions, 0 deletions
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 <stdio.h>
#ifdef HAVE_REGEX
#include <regex.h>
+#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