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.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pj_malloc.c b/src/pj_malloc.c
index 2d670ae2..c45da85d 100644
--- a/src/pj_malloc.c
+++ b/src/pj_malloc.c
@@ -34,15 +34,18 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
-
/* allocate and deallocate memory */
/* These routines are used so that applications can readily replace
** projection system memory allocation/deallocation call with custom
** application procedures. */
+#include <errno.h>
+#include <stddef.h>
+#include <stdlib.h>
+#include <string.h>
+
#include "proj.h"
#include "projects.h"
-#include <errno.h>
/**********************************************************************/
void *pj_malloc(size_t size) {