Add missing import
authorReid Kleckner <rnk@google.com>
Fri, 7 Apr 2017 01:24:48 +0000 (01:24 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 7 Apr 2017 01:24:48 +0000 (01:24 +0000)
llvm-svn: 299739

compiler-rt/unittests/lit.common.unit.cfg

index 42df604..b08c1fe 100644 (file)
@@ -39,6 +39,7 @@ if config.host_os == 'Darwin':
   # only works for code if it is stored at the top level of some module.
   # Therefore, we have to put the code in a .py file, add it to path, and import
   # it to store it in the config.
+  import site
   site.addsitedir(os.path.dirname(__file__))
   import lit_unittest_cfg_utils
   config.darwin_sanitizer_parallelism_group_func = \