diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/os_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/os_file.c b/src/util/os_file.c index b502ff4b0ef..128fe872db1 100644 --- a/src/util/os_file.c +++ b/src/util/os_file.c @@ -34,11 +34,12 @@ os_file_create_unique(const char *filename, int filemode) #if defined(__linux__) #include <fcntl.h> -#include <linux/kcmp.h> #include <sys/stat.h> #include <sys/syscall.h> #include <unistd.h> +/* copied from <linux/kcmp.h> */ +#define KCMP_FILE 0 static ssize_t readN(int fd, char *buf, size_t len) |