HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/astro/libosmpbf/files/patch-tools_osmpbf-outline.cpp
--- tools/osmpbf-outline.cpp.orig	2021-01-06 13:47:22 UTC
+++ tools/osmpbf-outline.cpp
@@ -10,6 +10,11 @@
 // zlib compression is used inside the pbf blobs
 #include <zlib.h>
 
+#ifndef WIN32
+	// used for isatty
+	#include <unistd.h>
+#endif
+
 // netinet or winsock2 provides the network-byte-order conversion function
 #ifdef D_HAVE_WINSOCK
     #include <winsock2.h>