aboutsummaryrefslogtreecommitdiff
path: root/src/pj_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_auth.c')
-rw-r--r--src/pj_auth.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pj_auth.c b/src/pj_auth.c
index ed716fde..d6024671 100644
--- a/src/pj_auth.c
+++ b/src/pj_auth.c
@@ -1,5 +1,10 @@
/* determine latitude from authalic latitude */
+
+#include <math.h>
+#include <stddef.h>
+
#include "projects.h"
+
# define P00 .33333333333333333333 /* 1 / 3 */
# define P01 .17222222222222222222 /* 31 / 180 */
# define P02 .10257936507936507937 /* 517 / 5040 */
@@ -7,6 +12,7 @@
# define P11 .06640211640211640212 /* 251 / 3780 */
# define P20 .01677689594356261023 /* 761 / 45360 */
#define APA_SIZE 3
+
double *
pj_authset(double es) {
double t, *APA;