diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-02 14:50:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-02 14:50:37 +0000 |
commit | e76581f97eb849a0e3de869828f4ff809d00e9ba (patch) | |
tree | 5a064235a2136598fc3cf20477e3de5bf1460fe6 /configure.in | |
parent | 6aeca5237d3e801cc6da07a83af22bb159be703b (diff) | |
download | tor-e76581f97eb849a0e3de869828f4ff809d00e9ba.tar.gz tor-e76581f97eb849a0e3de869828f4ff809d00e9ba.zip |
r14647@tombo: nickm | 2007-11-02 10:48:37 -0400
Use rlim_t instead of unsigned long to manipulate rlimit values.
svn:r12339
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 3abcf2648e..5ad8617ab3 100644 --- a/configure.in +++ b/configure.in @@ -362,6 +362,12 @@ AC_CHECK_TYPES([struct in6_addr, struct sockaddr_in6, struct sockaddr_storage, s #endif ]) +AC_CHECK_TYPES([rlim_t], , , +[#ifdef HAVE_SYS_RESOURCE_H +#include <sys/resource.h> +#endif +]) + if test -z "$CROSS_COMPILE"; then AC_CACHE_CHECK([whether time_t is signed], tor_cv_time_t_signed, [ AC_RUN_IFELSE(AC_LANG_SOURCE([ |