diff --git a/cmd/structcheck/structcheck.go b/cmd/structcheck/structcheck.go
index <HASH>..<HASH> 100644
--- a/cmd/structcheck/structcheck.go
+++ b/cmd/structcheck/structcheck.go
@@ -161,6 +161,8 @@ func main() {
 		}
 		fset, astFiles := check.ASTFilesForPackage(pkgPath)
 		imp := importer.New()
+		// Preliminary cgo support.
+		imp.Config = importer.Config{UseGcFallback: true}
 		config := types.Config{Import: imp.Import}
 		var err error
 		visitor.pkg, err = config.Check(pkgPath, fset, astFiles, &visitor.info)
diff --git a/cmd/varcheck/varcheck.go b/cmd/varcheck/varcheck.go
index <HASH>..<HASH> 100644
--- a/cmd/varcheck/varcheck.go
+++ b/cmd/varcheck/varcheck.go
@@ -101,6 +101,8 @@ func main() {
 		}
 		fset, astFiles := check.ASTFilesForPackage(pkgPath)
 		imp := importer.New()
+		// Preliminary cgo support.
+		imp.Config = importer.Config{UseGcFallback: true}
 		config := types.Config{Import: imp.Import}
 		var err error
 		visitor.pkg, err = config.Check(pkgPath, fset, astFiles, &visitor.info)
Add cgo support (fixes #4)