diff src/mem-limits.h @ 169:15872534500d r20-3b11

Import from CVS: tag r20-3b11
author cvs
date Mon, 13 Aug 2007 09:46:53 +0200
parents 54cc21c15cbb
children 557eaa0339bf
line wrap: on
line diff
--- a/src/mem-limits.h	Mon Aug 13 09:45:48 2007 +0200
+++ b/src/mem-limits.h	Mon Aug 13 09:46:53 2007 +0200
@@ -23,6 +23,14 @@
 #ifndef _XEMACS_MEM_LIMITS_H_
 #define _XEMACS_MEM_LIMITS_H_
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_ULIMIT_H
+#include <ulimit.h>
+#endif
+
 #ifdef MSDOS
 #include <dpmi.h>
 #endif
@@ -123,8 +131,6 @@
 static void
 get_lim_data (void)
 {
-  extern long ulimit ();
-    
   lim_data = -1;
 
   /* Use the ulimit call, if we seem to have it.  */