Use `extern mod` at the top of the example.