aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>1994-01-09 23:36:21 +0000
committerRoland McGrath <[email protected]>1994-01-09 23:36:21 +0000
commitf920c4419c728960494470e146c5a53bf40d7c0c (patch)
treea6b5395f98fe614e868dd01352eaaf448fb8375d
parentb03f6d387bfba2cf7934ee36fc9e224e087131a1 (diff)
Include <sys/types.h> before <sys/resource.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 1878e69ce0..65384ba3c9 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>