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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user