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:
Marcus Meissner
2006-06-19 18:09:15 +00:00
parent 666502cfe5
commit 0ba2ee57da

View File

@@ -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