Skip to content

Commit

Permalink
Added FoundationNetworking imports (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
AcrylicMadness authored Apr 11, 2024
1 parent e59868f commit 2ad40da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/SwiftPublicSuffixList/PublicSuffixList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
// Further checks added based on https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/naming-conventions-for-computer-domain-site-ou

import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

final public class PublicSuffixList {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
//

import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

public class PublicSuffixListOnlineRegistryFetcher {

Expand Down

0 comments on commit 2ad40da

Please sign in to comment.