aboutsummaryrefslogtreecommitdiffstats
path: root/math/gri/files/patch-ac
blob: dec3f2a58867ee686879fe88385c93f6fbf7f448 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gr.hh.orig  Sun Jun  2 02:37:59 2002
+++ gr.hh   Fri Jan  3 21:12:13 2003
@@ -28,7 +28,7 @@
 #if STDC_HEADERS
 #include        <stdlib.h>
 #else
-#ifndef MSDOS
+#if !defined(MSDOS) && !defined(__FreeBSD__)
 #include        <malloc.h>
 #endif             // not MSDOS
 #endif             // Doesn't have stdlib
@@ -345,7 +345,7 @@
 #endif
 
 // Time type (time_t, int, or long) varies per machine (ug).
-#if defined(VMS) || defined(MSDOS) || defined(IS_DEC_ALPHA) || defined(AIX)
+#if defined(VMS) || defined(MSDOS) || defined(IS_DEC_ALPHA) || defined(AIX) || defined(__FreeBSD__)
 #define SECOND_TYPE time_t
 #else
 #if defined(__DECCXX)