From: Marek Olšák Date: Tue, 18 Feb 2020 21:12:23 +0000 (-0500) Subject: util: remove the dependency on kcmp.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7bfb10c69dfe48a91e35523cb5ee641bdbf6988;p=mesa.git util: remove the dependency on kcmp.h Fixes: f76cbc7901f7 "util: Add os_same_file_description helper" Acked-by: Eric Engestrom Reviewed-by: Michel Dänzer Tested-by: Marge Bot Part-of: --- 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 -#include #include #include #include +/* copied from */ +#define KCMP_FILE 0 static ssize_t readN(int fd, char *buf, size_t len)