shithub: riscv

Download patch

ref: 35fde3591ff2396accb07eeeca51199698a626c3
parent: 11e40fc6b456b96dfc3cfc22f8efba07b3f1038c
author: cinap_lenrek <[email protected]>
date: Mon Sep 19 15:04:21 EDT 2016

scat: hjdicks for amd64

--- a/sys/src/cmd/scat/sky.h
+++ b/sys/src/cmd/scat/sky.h
@@ -139,6 +139,8 @@
 typedef short	Mag;	/* multiplied by 10 */
 typedef long	Key;	/* known to be 4 bytes, unfortunately */
 
+#pragma pack on
+
 /*
  * All integers are stored in little-endian order.
  */
@@ -222,6 +224,8 @@
 	char	name[3];
 	char	pad;
 };
+
+#pragma pack off
 
 /*
  * Internal form