Skip to content

Commit

Permalink
add missing libc imports
Browse files Browse the repository at this point in the history
  • Loading branch information
paulofaria committed May 15, 2017
1 parent 146a34a commit fd308a2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/IO/IP.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#if os(Linux)
import Glibc
#else
import Darwin.C
#endif

import Venice
import Core
import CLibdill
Expand Down
6 changes: 6 additions & 0 deletions Sources/IO/TCPHost.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#if os(Linux)
import Glibc
#else
import Darwin.C
#endif

import Venice
import Core
import CLibdill
Expand Down
6 changes: 6 additions & 0 deletions Sources/IO/TCPStream.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#if os(Linux)
import Glibc
#else
import Darwin.C
#endif

import Venice
import Core
import CLibdill
Expand Down

0 comments on commit fd308a2

Please sign in to comment.