aboutsummaryrefslogtreecommitdiff
path: root/tools/util-linux/patches/102-macos-uuid-next.patch
blob: 36346fd5227dd2f8f0f8671fc0fbf567655aa0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>