about summary refs log tree commit diff
path: root/include/sys/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/resource.h')
-rw-r--r--include/sys/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/resource.h b/include/sys/resource.h
index 4baceb3e..bf59d1c8 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -87,7 +87,7 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
 
 #define RLIM_NLIMITS RLIMIT_NLIMITS
 
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
 #define getrlimit64 getrlimit
 #define setrlimit64 setrlimit
 #define rlimit64 rlimit