Fix missing include for flock(2)

On OpenBSD it's in <fcntl.h>, and it gets declared anyway on FreeBSD
and macOS. Curiously, on GNU/Linux, LOCK_* are defined, but flock(2)
isn't declared.
master
C. McEnroe 2021-08-09 20:14:24 -04:00
parent a585b1b073
commit 3f3585d0f3
1 changed files with 1 additions and 0 deletions

1
ui.c
View File

@ -41,6 +41,7 @@
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <sys/file.h>
#include <term.h>
#include <termios.h>
#include <time.h>