aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-25 03:05:38 +0000
committerJim Blandy1993-05-25 03:05:38 +0000
commitc027d070ebb6f0655db88c6cda41165adbc6f3e6 (patch)
treedf4448d30688eab3a8c3ec0e2d80e408ee02e567 /src
parent36ae397eaddb38480eddd3a9c556c9214a718e6b (diff)
downloademacs-c027d070ebb6f0655db88c6cda41165adbc6f3e6.tar.gz
emacs-c027d070ebb6f0655db88c6cda41165adbc6f3e6.zip
Changes for OSF/1:
* mem-limits.h [__osf__ && (__mips || mips)]: #include <sys/time.h> and <sys/resource.h>. (get_lim_data): OSF wants a definition like BSD4_2's. * s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".
Diffstat (limited to 'src')
-rw-r--r--src/mem-limits.h7
-rw-r--r--src/s/osf1.h2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index bb03c6f32f9..31c71dc3e4e 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -17,6 +17,11 @@ You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to 17along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ 18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19 19
20#if defined(__osf__) && (defined(__mips) || defined(mips))
21#include <sys/time.h>
22#include <sys/resource.h>
23#endif
24
20#ifndef BSD4_2 25#ifndef BSD4_2
21#ifndef USG 26#ifndef USG
22#include <sys/vlimit.h> 27#include <sys/vlimit.h>
@@ -95,7 +100,7 @@ get_lim_data ()
95} 100}
96 101
97#else /* not USG */ 102#else /* not USG */
98#ifndef BSD4_2 103#if !defined(BSD4_2) && !defined(__osf__)
99 104
100static void 105static void
101get_lim_data () 106get_lim_data ()
diff --git a/src/s/osf1.h b/src/s/osf1.h
index 65e80861cc1..491b8978a6f 100644
--- a/src/s/osf1.h
+++ b/src/s/osf1.h
@@ -1,4 +1,4 @@
1#include "s-bsd4-3.h" 1#include "bsd4-3.h"
2 2
3/* Identify OSF1 for the m- files. */ 3/* Identify OSF1 for the m- files. */
4 4