diff options
| author | sambler | 2015-01-27 19:31:37 +1030 |
|---|---|---|
| committer | sambler | 2015-01-27 19:31:37 +1030 |
| commit | 73ca870c81145865d5a73c7aa95431c6792d5ec1 (patch) | |
| tree | 043f59d9a31154350268a61902c5ecd1fd360a83 /drivers/unix/ip_unix.cpp | |
| parent | 67d357191ff74b2cfc80015941363a97e7ee19fd (diff) | |
| download | godot-73ca870c81145865d5a73c7aa95431c6792d5ec1.tar.gz godot-73ca870c81145865d5a73c7aa95431c6792d5ec1.tar.zst godot-73ca870c81145865d5a73c7aa95431c6792d5ec1.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) { |
