aboutsummaryrefslogtreecommitdiff
path: root/src/deriv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/deriv.cpp')
-rw-r--r--src/deriv.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/deriv.cpp b/src/deriv.cpp
index 0e285265..bc7fa19e 100644
--- a/src/deriv.cpp
+++ b/src/deriv.cpp
@@ -3,10 +3,11 @@
#include <math.h>
-#include "projects.h"
+#include "proj.h"
+#include "proj_internal.h"
-int pj_deriv(LP lp, double h, const PJ *P, struct DERIVS *der) {
- XY t;
+int pj_deriv(PJ_LP lp, double h, const PJ *P, struct DERIVS *der) {
+ PJ_XY t;
/* get rid of constness until we can do it for real */
PJ *Q = (PJ *) P;
if (nullptr==Q->fwd)