]> git.eshelyaron.com Git - emacs.git/commitdiff
[_LIBC]: Just include <sys/resource.h>, and skip hairy #ifdef mess.
authorRoland McGrath <roland@gnu.org>
Thu, 22 Jul 1993 18:55:19 +0000 (18:55 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 22 Jul 1993 18:55:19 +0000 (18:55 +0000)
src/mem-limits.h

index d4e743f6ed282d857542fb632b2ec6e74ceeb2de..7cdb7f83b313fe2d90d0c0fc3f08b177a083f635 100644 (file)
@@ -17,6 +17,12 @@ 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.  */
 
+#ifdef _LIBC
+
+#include <sys/resource.h>
+
+#else
+
 #if defined(__osf__) && (defined(__mips) || defined(mips))
 #include <sys/time.h>
 #include <sys/resource.h>
@@ -35,6 +41,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <sys/resource.h>
 #endif /* BSD4_2 */
 
+#endif /* _LIBC */
+
 #ifdef emacs
 /* The important properties of this type are that 1) it's a pointer, and
    2) arithmetic on it should work as if the size of the object pointed