mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 15:48:04 -04:00
fix some warnings
This commit is contained in:
parent
697806c41d
commit
9fba90ac32
5 changed files with 34 additions and 9 deletions
|
@ -17,11 +17,14 @@
|
|||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#ifndef __MINGW32__
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
#include "../plat.h"
|
||||
#include "../posix.h"
|
||||
|
||||
/* XXX: maybe unhardcode pagesize? */
|
||||
#define HUGETLB_PAGESIZE (2 * 1024 * 1024)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue