diff options
Diffstat (limited to 'src/mem-limits.h')
-rw-r--r-- | src/mem-limits.h | 7 |
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 () |