aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/compat/stdlib.h4
-rw-r--r--include/compat/unistd.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/compat/stdlib.h b/include/compat/stdlib.h
index 781be77..11f82ba 100644
--- a/include/compat/stdlib.h
+++ b/include/compat/stdlib.h
@@ -29,6 +29,10 @@ uint32_t arc4random_uniform(uint32_t upper_bound);
29void *reallocarray(void *, size_t, size_t); 29void *reallocarray(void *, size_t, size_t);
30#endif 30#endif
31 31
32#ifndef HAVE_RECALLOCARRAY
33void *recallocarray(void *, size_t, size_t, size_t);
34#endif
35
32#ifndef HAVE_STRTONUM 36#ifndef HAVE_STRTONUM
33long long strtonum(const char *nptr, long long minval, 37long long strtonum(const char *nptr, long long minval,
34 long long maxval, const char **errstr); 38 long long maxval, const char **errstr);
diff --git a/include/compat/unistd.h b/include/compat/unistd.h
index b37a2f6..d596043 100644
--- a/include/compat/unistd.h
+++ b/include/compat/unistd.h
@@ -39,6 +39,10 @@ int getentropy(void *buf, size_t buflen);
39#endif 39#endif
40#endif 40#endif
41 41
42#ifndef HAVE_GETPAGESIZE
43int getpagesize(void);
44#endif
45
42#define pledge(request, paths) 0 46#define pledge(request, paths) 0
43 47
44#ifndef HAVE_PIPE2 48#ifndef HAVE_PIPE2