Skip to content

Commit 32f62c0

Browse files
committed
fix: missing include under OpenBSD
1 parent 41bf5ba commit 32f62c0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

libgrive/src/util/File.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
#include <sys/types.h>
3434
#include <fcntl.h>
3535

36+
#ifdef __OpenBSD__
37+
#include <unistd.h>
38+
#endif
39+
3640
#ifdef WIN32
3741
#include <io.h>
3842
typedef int ssize_t ;

0 commit comments

Comments
 (0)