Ver Fonte

HttpServer: import Glibc on Linux

Julien Chaumond há 10 anos atrás
pai
commit
9dce3ec73d
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      Sources/Swifter/HttpServer.swift

+ 2 - 1
Sources/Swifter/HttpServer.swift

@@ -7,12 +7,13 @@
 import Foundation
 
 #if os(Linux)
+    import Glibc
     import NSLinux
 #endif
 
 public class HttpServer {
     
-    static let VERSION = "1.0.2";
+    static let VERSION = "1.0.2"
     
     public typealias Handler = HttpRequest -> HttpResponse