opnsense-ports/graphics/glosm/files/patch-libglosm-server-src-PreloadedXmlDatasource.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

10 lines
302 B
C++

--- libglosm-server/src/PreloadedXmlDatasource.cc.orig 2011-02-27 18:05:45.000000000 +0300
+++ libglosm-server/src/PreloadedXmlDatasource.cc 2013-09-14 06:33:17.667228216 +0400
@@ -46,6 +46,7 @@
#include <fcntl.h>
#include <expat.h>
+#include <unistd.h>
#include <cstring>
#include <stdexcept>