[geos-devel] [GEOS] #804: tut_result.hpp needs includes for getpid
GEOS
geos-trac at osgeo.org
Tue Jan 31 11:18:25 PST 2017
#804: tut_result.hpp needs includes for getpid
------------------------+--------------------------
Reporter: goatbar | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.7.0
Component: Default | Version: 3.6.0
Severity: Unassigned | Keywords:
------------------------+--------------------------
It would be good to also wrap parts of tut_result.hpp in HAVE_SYS_TYPES_H,
HAVE_UNISTD, and/or TUT_USE_POSIX. e.g. like tut_console_reporter.hpp
{{{#!patch
--- a/geos/geos-3.6.1/tests/unit/tut/tut_result.hpp
+++ b/geos/geos-3.6.1/tests/unit/tut/tut_result.hpp
@@ -2,6 +2,8 @@
#define TUT_RESULT_H_GUARD
#include <string>
+#include <sys/types.h>
+#include <unistd.h>
namespace tut
{
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/804>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list