diff options
| author | Bil Bas (Spooner) | 2015-02-10 00:42:28 +0000 |
|---|---|---|
| committer | Bil Bas (Spooner) | 2015-02-10 00:42:28 +0000 |
| commit | 58d767894771cd92c018ffb164725b5d46e520b8 (patch) | |
| tree | 8af83d16aa1c3f6e217085504c0c648a7cb3a5fb /drivers/unix/ip_unix.cpp | |
| parent | 2c1a3dfed6f9a474ace9123b46edca77be548d3e (diff) | |
| parent | f53b27dca33e00cfc5f05d3dbaf58c0f97ff28bf (diff) | |
| download | godot-58d767894771cd92c018ffb164725b5d46e520b8.tar.gz godot-58d767894771cd92c018ffb164725b5d46e520b8.tar.zst godot-58d767894771cd92c018ffb164725b5d46e520b8.zip | |
Diffstat (limited to 'drivers/unix/ip_unix.cpp')
| -rw-r--r-- | drivers/unix/ip_unix.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index 841160f94..ad0d4e00e 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -50,11 +50,16 @@ #ifdef ANDROID_ENABLED #include "platform/android/ifaddrs_android.h" #else + #ifdef __FreeBSD__ + #include <sys/types.h> + #endif #include <ifaddrs.h> #endif #include <arpa/inet.h> #include <sys/socket.h> - + #ifdef __FreeBSD__ + #include <netinet/in.h> + #endif #endif IP_Address IP_Unix::_resolve_hostname(const String& p_hostname) { |
