summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-25 03:05:38 +0000
committerJim Blandy <jimb@redhat.com>1993-05-25 03:05:38 +0000
commitc027d070ebb6f0655db88c6cda41165adbc6f3e6 (patch)
treedf4448d30688eab3a8c3ec0e2d80e408ee02e567 /src/mem-limits.h
parent36ae397eaddb38480eddd3a9c556c9214a718e6b (diff)
downloademacs-c027d070ebb6f0655db88c6cda41165adbc6f3e6.tar.gz
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/mem-limits.h')
-rw-r--r--src/mem-limits.h7
1 files changed, 6 insertions, 1 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
along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+#if defined(__osf__) && (defined(__mips) || defined(mips))
+#include <sys/time.h>
+#include <sys/resource.h>
+#endif
+
#ifndef BSD4_2
#ifndef USG
#include <sys/vlimit.h>
@@ -95,7 +100,7 @@ get_lim_data ()
}
#else /* not USG */
-#ifndef BSD4_2
+#if !defined(BSD4_2) && !defined(__osf__)
static void
get_lim_data ()