D-Programming-Language/druntime — pull request #351 by redstar (2012-11-18 16:33:04+00:00)
Title: un.d: Move public import into section protected by version (Posix)

My new understanding is that all modules should be installed independed of system architecture. On a non-Posix system (e.g. Windows) the module `core.sys.posix.sys.un` produces an "import not found" message because it imports a symbol which is not defined on a non-Posix system.
Emitted error is: `src\core\sys\posix\sys\un.d(17): Error: module core.sys.posix.sys.socket import 'sa_family_t' not found`.
This commit moves the import a bit and fixes this compile error.