Ver código fonte

Import Foundation also on Linux

Benjamin De Troch 10 anos atrás
pai
commit
5eb8289d88
1 arquivos alterados com 1 adições e 2 exclusões
  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.
 //  Copyright (c) 2014-2016 Damian Kołakowski. All rights reserved.
 //
 //
 
 
+import Foundation
 #if os(Linux)
 #if os(Linux)
     import Glibc
     import Glibc
-#else
-    import Foundation
 #endif
 #endif
 
 
 public class HttpServerIO {
 public class HttpServerIO {