mirror of
https://github.com/reactos/ccache.git
synced 2024-11-23 19:59:46 +00:00
Portability: Include headers to get O_RDONLY and friend
This commit is contained in:
parent
19867b3bd2
commit
8ce0a8475f
@ -19,8 +19,11 @@
|
||||
#include "ccache.h"
|
||||
#include "comments.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define HASH(ch) \
|
||||
do { \
|
||||
|
3
hash.c
3
hash.c
@ -21,6 +21,9 @@
|
||||
|
||||
#include "ccache.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
@ -23,13 +23,14 @@
|
||||
#include "murmurhashneutral2.h"
|
||||
#include "comments.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <zlib.h>
|
||||
|
||||
|
3
stats.c
3
stats.c
@ -25,6 +25,9 @@
|
||||
|
||||
#include "ccache.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
3
unify.c
3
unify.c
@ -32,8 +32,11 @@
|
||||
|
||||
#include "ccache.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user