aboutsummaryrefslogtreecommitdiffstats
path: root/misc/astrolog/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'misc/astrolog/files/patch-ab')
-rw-r--r--misc/astrolog/files/patch-ab26
1 files changed, 22 insertions, 4 deletions
diff --git a/misc/astrolog/files/patch-ab b/misc/astrolog/files/patch-ab
index 5d2c79c73c1a..d9cf300d1f0b 100644
--- a/misc/astrolog/files/patch-ab
+++ b/misc/astrolog/files/patch-ab
@@ -1,5 +1,5 @@
---- astrolog.h.orig Thu Jan 26 06:19:59 2006
-+++ astrolog.h Thu Jan 26 06:24:50 2006
+--- astrolog.h.orig 1998-12-23 23:29:05.000000000 +0000
++++ astrolog.h 2011-11-30 16:32:47.000000000 +0000
@@ -52,7 +52,7 @@
/*#define MAC /* Comment out this #define if you're not compiling for a Mac. */
@@ -40,7 +40,25 @@
#else
#define DEFAULT_DIR "C:\\ASTROLOG"
#endif
-@@ -1046,9 +1050,9 @@
+@@ -271,7 +275,7 @@
+ #endif
+ #include <math.h>
+ #ifdef PC
+-#include <malloc.h>
++#include <stdlib.h>
+ #endif
+ #ifdef TIME
+ #include <time.h>
+@@ -281,6 +285,8 @@
+ #define ISG
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
++#else
++#include <sys/types.h>
+ #endif
+ #ifdef WIN
+ #define ISG
+@@ -1046,9 +1052,9 @@
*/
#define byte unsigned char
@@ -52,4 +70,4 @@
+#define word4 int32_t
#define real double
#define _char unsigned char
- #define _int unsigned int
+ #define _int unsigned int \ No newline at end of file