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