Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
13 lines
531 B
Diff
13 lines
531 B
Diff
--- a/posix-extras.scm 1970-01-01 01:00:01.000000000 +0100
|
|
+++ b/posix-extras.scm 1970-01-01 01:00:01.000000000 +0100
|
|
@@ -110,6 +110,9 @@ static void *C_not_implemented_ptr(void)
|
|
#endif
|
|
|
|
+#if defined (__unix__)
|
|
+#include <sys/sysmacros.h>
|
|
+#endif
|
|
#if defined (__unix__) || defined (C_XXXBSD)
|
|
#include <sys/types.h>
|
|
#define C_mknod(fn, m, d) C_fix(mknod(C_data_pointer(fn), C_unfix(m), C_unfix(d)))
|
|
#define C_mknod64(fn, m, maj, min) C_fix(mknod(C_data_pointer(fn), C_unfix(m), makedev(C_num_to_int(maj), C_num_to_int(min))))
|