summaryrefslogtreecommitdiff
path: root/libgphoto2_port/libgphoto2_port
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-02-22 15:39:29 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-02-22 15:39:29 +0000
commitb1b20d615a6bcc6e863ca71c1cb66ae6ffd8a8ca (patch)
tree7111124c7c384873161124c71d24e3bdf44406ae /libgphoto2_port/libgphoto2_port
parentf8f99f66c996abe7543ac1f2e4c24df78fa2e57f (diff)
downloadlibgphoto2-b1b20d615a6bcc6e863ca71c1cb66ae6ffd8a8ca.tar.gz
fixed non-regex build
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14761 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/libgphoto2_port')
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c2
1 files changed, 1 insertions, 1 deletions
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