shithub: mc

Download patch

ref: e70d7196737e825c0b884572de64c699c482c939
parent: 3384df94db0bc2cd8cb97f5eddbdcabc9b2a2eae
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Jan 20 07:43:04 EST 2016

Add sockaddr_un to osx.

--- a/lib/sys/sys+freebsd-x64.myr
+++ b/lib/sys/sys+freebsd-x64.myr
@@ -119,7 +119,7 @@
 	;;
 
 	type sockaddr_un = struct
-		len	: byte
+		len	: uint8
 		fam	: sockfam
 		path	: byte[104]
 	;;
--- a/lib/sys/sys+osx-x64.myr
+++ b/lib/sys/sys+osx-x64.myr
@@ -101,6 +101,11 @@
 		scope	: uint32
 	;;
 
+	type sockaddr_un = struct
+		len	: uint8
+		fam	: sockfam
+		path	: byte[104]
+	;;
 
 	type sockaddr_storage = struct
 		len	: byte