diff options
Diffstat (limited to 'tools/util-linux/patches/102-macos-uuid-next.patch')
-rw-r--r-- | tools/util-linux/patches/102-macos-uuid-next.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/util-linux/patches/102-macos-uuid-next.patch b/tools/util-linux/patches/102-macos-uuid-next.patch new file mode 100644 index 0000000000..36346fd522 --- /dev/null +++ b/tools/util-linux/patches/102-macos-uuid-next.patch @@ -0,0 +1,13 @@ +--- a/libuuid/src/uuid.h ++++ b/libuuid/src/uuid.h +@@ -35,6 +35,10 @@ + #ifndef _UL_LIBUUID_UUID_H + #define _UL_LIBUUID_UUID_H + ++#if defined(__clang__) && defined(__APPLE__) ++#include_next <uuid/uuid.h> ++#endif ++ + #include <sys/types.h> + #ifndef _WIN32 + #include <sys/time.h> |