diff --git a/src/cmd/gc/sysimport.c b/src/cmd/gc/sysimport.c index da12b6361ab..4d682d675d0 100644 --- a/src/cmd/gc/sysimport.c +++ b/src/cmd/gc/sysimport.c @@ -65,5 +65,7 @@ char *sysimport = char *unsafeimport = "package unsafe\n" "type unsafe.Pointer *any\n" + "func unsafe.Offsetof (? any) (? int)\n" + "func unsafe.Sizeof (? any) (? int)\n" "\n" "$$\n";