aboutsummaryrefslogtreecommitdiff
path: root/src/projections/vandg4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections/vandg4.cpp')
-rw-r--r--src/projections/vandg4.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/projections/vandg4.cpp b/src/projections/vandg4.cpp
index d9a53c87..15171b75 100644
--- a/src/projections/vandg4.cpp
+++ b/src/projections/vandg4.cpp
@@ -2,6 +2,7 @@
#include <math.h>
+#include "proj.h"
#include "projects.h"
PROJ_HEAD(vandg4, "van der Grinten IV") "\n\tMisc Sph, no inv";
@@ -9,8 +10,8 @@ PROJ_HEAD(vandg4, "van der Grinten IV") "\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};
double x1, t, bt, ct, ft, bt2, ct2, dt, dt2;
(void) P;