these headers are not available on all platforms (e.g., windows) and so
the corresponding #ifdef checks must be used in order to correctly include
them
ref 1adb73cef82c45f2cc8766f43ffb88288e7e8a65
ref T5725
fix T7063
Depends on D6368
these headers are not available on all platforms (e.g., windows) and so
the corresponding #ifdef checks must be used in order to correctly include
them
ref 1adb73cef82c45f2cc8766f43ffb88288e7e8a65
ref T5725
fix T7063
Depends on D6368
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
i would have done :
#ifdef _WIN32 # include <ws2tcpip.h> #endif #ifdef HAVE_NETDB_H # include <netdb.h> #endif