From 0ba2ee57da0560ce2908d4e7b2c6defae2a38657 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 19 Jun 2006 18:09:15 +0000 Subject: [PATCH] struct stat s also used on non __linux. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8900 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/serial/unix.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libgphoto2_port/serial/unix.c b/libgphoto2_port/serial/unix.c index 66bdf2c24..72d761eaa 100644 --- a/libgphoto2_port/serial/unix.c +++ b/libgphoto2_port/serial/unix.c @@ -307,9 +307,7 @@ gp_port_library_list (GPPortInfoList *list) GPPortInfo info; char path[1024], prefix[1024]; int x, fd; -#ifdef __linux struct stat s; -#endif #ifdef OS2 int r, fh, option; #endif