Skip to content
Snippets Groups Projects
Commit c8693f11 authored by deuce's avatar deuce
Browse files

Fix declarations for systems supporting sane locks.

parent 8c86342c
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ int DLLCALL sopen(char *fn, int access, int share)
#ifndef F_SANEWRLCKNO
int flock_op=LOCK_NB; /* non-blocking */
#endif
#ifndef BSD
#if defined(F_SANEWRLCKNO) || !defined(BSD)
struct flock alock;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment