diff --git a/source/adios2/helper/adiosNetwork.cpp b/source/adios2/helper/adiosNetwork.cpp index bdb2e76c61..2ae22a2b07 100644 --- a/source/adios2/helper/adiosNetwork.cpp +++ b/source/adios2/helper/adiosNetwork.cpp @@ -19,6 +19,7 @@ #include //getFQDN #include //getFQDN #include //getFQDN +#include // gethostname #if defined(ADIOS2_HAVE_DATAMAN) || defined(ADIOS2_HAVE_TABLE) @@ -29,7 +30,6 @@ #include //AvailableIpAddresses() struct if_nameindex #include //AvailableIpAddresses() struct sockaddr_in #include //AvailableIpAddresses() ioctl -#include // gethostname #include