diff options
Diffstat (limited to 'src/projections/bacon.cpp')
| -rw-r--r-- | src/projections/bacon.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/projections/bacon.cpp b/src/projections/bacon.cpp index 6c6350fe..74337ff2 100644 --- a/src/projections/bacon.cpp +++ b/src/projections/bacon.cpp @@ -4,6 +4,7 @@ #include <errno.h> #include <math.h> +#include "proj.h" #include "projects.h" @@ -19,8 +20,8 @@ PROJ_HEAD(ortel, "Ortelius Oval") "\n\tMisc Sph, no inv"; PROJ_HEAD(bacon, "Bacon Globular") "\n\tMisc Sph, no inv"; -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 ax, f; |
