projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prng: make rand_r have 2^32 period instead of 2^31
[musl]
/
include
/
sys
/
resource.h
diff --git
a/include/sys/resource.h
b/include/sys/resource.h
index
bf59d1c
..
ff8ee20
100644
(file)
--- a/
include/sys/resource.h
+++ b/
include/sys/resource.h
@@
-5,6
+5,8
@@
extern "C" {
#endif
extern "C" {
#endif
+#include <features.h>
+
#define __NEED_id_t
#define __NEED_time_t
#define __NEED_struct_timeval
#define __NEED_id_t
#define __NEED_time_t
#define __NEED_struct_timeval
@@
-55,6
+57,7
@@
int setpriority (int, id_t, int);
#ifdef _GNU_SOURCE
int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
#ifdef _GNU_SOURCE
int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
+#define prlimit64 prlimit
#endif
#define PRIO_PROCESS 0
#endif
#define PRIO_PROCESS 0