kopia lustrzana https://gitlab.com/sane-project/backends
Another occurence where struct flock must be defined for OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>DEVEL_2_0_BRANCH-1
rodzic
f91829003f
commit
be5065a948
|
@ -332,6 +332,16 @@ static SANE_Status
|
|||
qc_unlock (QC_Device *q)
|
||||
{
|
||||
#ifdef F_SETLK
|
||||
#ifndef HAVE_STRUCT_FLOCK
|
||||
struct flock
|
||||
{
|
||||
off_t l_start;
|
||||
off_t l_len;
|
||||
pid_t l_pid;
|
||||
short l_type;
|
||||
short l_whence;
|
||||
};
|
||||
#endif /* !HAVE_STRUCT_FLOCK */
|
||||
struct flock sfl;
|
||||
#endif
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue