diff --git a/core/src/main/java/org/teavm/backend/c/intrinsic/FunctionIntrinsic.java b/core/src/main/java/org/teavm/backend/c/intrinsic/FunctionIntrinsic.java index 380dad851..ce115b1d9 100644 --- a/core/src/main/java/org/teavm/backend/c/intrinsic/FunctionIntrinsic.java +++ b/core/src/main/java/org/teavm/backend/c/intrinsic/FunctionIntrinsic.java @@ -96,6 +96,7 @@ public class FunctionIntrinsic implements Intrinsic { return; } + context.importMethod(method, true); context.writer().print("&").print(context.names().forMethod(method)); } }