Explorar el Código

HttpServer: import Glibc on Linux

Julien Chaumond hace 10 años
padre
commit
9dce3ec73d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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