浏览代码

Import Foundation also on Linux

Benjamin De Troch 10 年之前
父节点
当前提交
5eb8289d88
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Sources/HttpServerIO.swift

+ 1 - 2
Sources/HttpServerIO.swift

@@ -5,10 +5,9 @@
 //  Copyright (c) 2014-2016 Damian Kołakowski. All rights reserved.
 //
 
+import Foundation
 #if os(Linux)
     import Glibc
-#else
-    import Foundation
 #endif
 
 public class HttpServerIO {