aboutsummaryrefslogtreecommitdiff
path: root/src/projections/vandg2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections/vandg2.cpp')
-rw-r--r--src/projections/vandg2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/projections/vandg2.cpp b/src/projections/vandg2.cpp
index 61d50044..a1336029 100644
--- a/src/projections/vandg2.cpp
+++ b/src/projections/vandg2.cpp
@@ -3,6 +3,7 @@
#include <errno.h>
#include <math.h>
+#include "proj.h"
#include "projects.h"
namespace { // anonymous namespace
@@ -17,8 +18,8 @@ PROJ_HEAD(vandg3, "van der Grinten III") "\n\tMisc Sph, no inv";
#define TOL 1e-10
-static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */
- XY xy = {0.0,0.0};
+static PJ_XY s_forward (PJ_LP lp, PJ *P) { /* Spheroidal, forward */
+ PJ_XY xy = {0.0,0.0};
struct pj_opaque *Q = static_cast<struct pj_opaque*>(P->opaque);
double x1, at, bt, ct;