aboutsummaryrefslogtreecommitdiff
path: root/src/pj_malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_malloc.c')
-rw-r--r--src/pj_malloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pj_malloc.c b/src/pj_malloc.c
index c9275074..63278a56 100644
--- a/src/pj_malloc.c
+++ b/src/pj_malloc.c
@@ -40,6 +40,7 @@
** projection system memory allocation/deallocation call with custom
** application procedures. */
+#include <proj.h>
#include "projects.h"
#include <errno.h>
@@ -143,7 +144,7 @@ char *pj_strdup(const char *str)
/*****************************************************************************/
-void *pj_dealloc_params (projCtx ctx, paralist *start, int errlev) {
+void *pj_dealloc_params (PJ_CONTEXT *ctx, paralist *start, int errlev) {
/*****************************************************************************
Companion to pj_default_destructor (below). Deallocates a linked list
of "+proj=xxx" initialization parameters.