summaryrefslogtreecommitdiff
path: root/astro/gkrellsun/files/patch-CalcEphem.c
blob: 81f642f11c9a8e81d495fa34d49d39b9f5d18f8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- CalcEphem.c.orig	2001-11-07 01:34:50.000000000 +0100
+++ CalcEphem.c	2008-03-12 13:14:01.000000000 +0100
@@ -8,6 +8,7 @@
 #include <config.h>
 #endif
 
+#include <string.h>
 #include <time.h>
 #include <X11/X.h>
 
@@ -239,7 +240,7 @@
     double UTRise, UTSet;
     double LTRise, LTSet;
     struct tm *LocalTime;
-    long CurrentGMTTime;
+    time_t CurrentGMTTime;
     double LocalHour, TimeZone;
 
     SinH0 = sin( -50.0/60.0 * RadPerDeg );