]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Portability: Include sys/stat.h and fcntl.h to get O_RDONLY and friends
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 27 Feb 2010 22:32:15 +0000 (23:32 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 27 Feb 2010 22:32:15 +0000 (23:32 +0100)
ccache.c

index 175b7b7e7c217a5178c065cb69476a0e4292e5e1..5d3cbc8793de8fce99cef850bb3e7c122ba4e9e1 100644 (file)
--- a/ccache.c
+++ b/ccache.c
 #include "comments.h"
 
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <sys/mman.h>
 #include <errno.h>
+#include <fcntl.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>