Add support for getpagesize

This commit is contained in:
kinichiro
2017-03-15 21:02:22 +09:00
parent 8877e9bc55
commit c61c9821e8
6 changed files with 33 additions and 1 deletions

View File

@@ -39,6 +39,10 @@ int getentropy(void *buf, size_t buflen);
#endif
#endif
#ifndef HAVE_GETPAGESIZE
int getpagesize(void);
#endif
#define pledge(request, paths) 0
#ifndef HAVE_PIPE2