treewide: add libuuid

Change-Id: I2ccff5d0c74393f32c3013bebd386cb127ab258e
Reviewed-on: https://review.monogon.dev/c/monogon/+/4161
Tested-by: Jenkins CI
Reviewed-by: Jan Schär <jan@monogon.tech>
diff --git a/third_party/libuuid/patches/musl-compat.patch b/third_party/libuuid/patches/musl-compat.patch
new file mode 100644
index 0000000..36da821
--- /dev/null
+++ b/third_party/libuuid/patches/musl-compat.patch
@@ -0,0 +1,13 @@
+diff --git a/BUILD.bazel b/BUILD.bazel
+index c6807e473ab7..27dc5f2f8cf1 100644
+--- a/BUILD.bazel
++++ b/BUILD.bazel
+@@ -21,7 +21,7 @@
+         "-Wno-implicit-function-declaration",
+         "-Wno-return-type",
+     ],
+-    defines = ["HAVE_NANOSLEEP"],
++    defines = ["HAVE_NANOSLEEP", "HAVE_SYS_FILE_H"],
+     includes = ["include"],
+     visibility = ["//visibility:public"],
+ )
\ No newline at end of file