mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 23:39:20 -04:00
- Rework patches to push the code upstream - Fix WWW in pkg-descr - Pet portlint Reported by: pkg-fallout
13 lines
291 B
C++
13 lines
291 B
C++
--- libgrive/src/util/File.cc.orig 2016-01-14 20:51:31 UTC
|
|
+++ libgrive/src/util/File.cc
|
|
@@ -33,6 +33,10 @@
|
|
#include <sys/types.h>
|
|
#include <fcntl.h>
|
|
|
|
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
+#include <unistd.h>
|
|
+#endif
|
|
+
|
|
#ifdef WIN32
|
|
#include <io.h>
|
|
typedef int ssize_t ;
|