Another occurence where struct flock must be defined for OS/2.

Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2001-06-02 14:33:32 +00:00
rodzic f91829003f
commit be5065a948
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

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