diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-03-15 21:02:22 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-03-15 22:02:11 +0900 |
commit | c61c9821e8417243a5a0cf691415f5e5626f2b3b (patch) | |
tree | a94dea834588dc0f9c8862e5a348b641302f4edd /include | |
parent | 8877e9bc55fdbdb70c967b7720f57fba148a7dda (diff) | |
download | portable-c61c9821e8417243a5a0cf691415f5e5626f2b3b.tar.gz portable-c61c9821e8417243a5a0cf691415f5e5626f2b3b.tar.bz2 portable-c61c9821e8417243a5a0cf691415f5e5626f2b3b.zip |
Add support for getpagesize
Diffstat (limited to 'include')
-rw-r--r-- | include/compat/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 | ||
43 | int 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 |