summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-01-09 23:36:21 +0000
committerRoland McGrath <roland@gnu.org>1994-01-09 23:36:21 +0000
commit20faa3e0baa688e0cb4b0fedf115e0d4649c2758 (patch)
tree87e20874fd9bf4b062fd5d5bfcd714826eb44d65 /src/mem-limits.h
parent3f13c953a38c59701aa56a0f9559448d54fa321b (diff)
downloademacs-20faa3e0baa688e0cb4b0fedf115e0d4649c2758.tar.gz
Include <sys/types.h> before <sys/resource.h>.
Diffstat (limited to 'src/mem-limits.h')
-rw-r--r--src/mem-limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index 1878e69ce00..65384ba3c94 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -1,5 +1,5 @@
/* Includes for memory limit warnings.
- Copyright (C) 1990, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1993, 1994 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -21,6 +21,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <dpmi.h>
#endif
+/* Some systems need this before <sys/resource.h>. */
+#include <sys/types.h>
+
#ifdef _LIBC
#include <sys/resource.h>