From b1b20d615a6bcc6e863ca71c1cb66ae6ffd8a8ca Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 22 Feb 2014 15:39:29 +0000 Subject: [PATCH] fixed non-regex build git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14761 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c index d68073e0b..fb435156a 100644 --- a/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c +++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c @@ -367,8 +367,8 @@ gp_port_info_list_lookup_path (GPPortInfoList *list, const char *path) { unsigned int i; int result, generic; - regex_t pattern; #ifdef HAVE_REGEX + regex_t pattern; #ifdef HAVE_GNU_REGEX const char *rv; #else