diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mem-limits.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h index d4e743f6ed2..7cdb7f83b31 100644 --- a/src/mem-limits.h +++ b/src/mem-limits.h @@ -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 |
