dev-haskell/unix-compat: added missing patch

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Sergei Trofimovich
2017-02-16 08:57:38 +00:00
parent 8fba7ccbb0
commit 1943f45fd0

View File

@@ -0,0 +1,9 @@
diff --git a/cbits/HsUnixCompat.c b/cbits/HsUnixCompat.c
index 1f7f189..5de35f5 100644
--- a/cbits/HsUnixCompat.c
+++ b/cbits/HsUnixCompat.c
@@ -6,2 +6,4 @@
+#include <sys/sysmacros.h> /* TODO: glibc()-specific macro */
+
unsigned int unix_major(dev_t dev)