compile on FreeBSD 7

This commit is contained in:
Doug MacEachern committed 2008-09-06 18:22:19 +00:00
1 parent 0a1a1203f0
commit c54ad52a99
2 files changed
+4

No files matched your search

+2
View File
@@ -1613,7 +1613,9 @@ JNIEXPORT jlong SIGAR_JNI(ResourceLimit_INFINITY)
#ifdef WIN32
return 0x7fffffff;
#else
#ifndef __FreeBSD__
#include <sys/time.h>
#endif
#include <sys/resource.h>
return RLIM_INFINITY;
#endif