summaryrefslogtreecommitdiff
path: root/ACE/tests/Network_Adapters_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Network_Adapters_Test.cpp')
-rw-r--r--ACE/tests/Network_Adapters_Test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/tests/Network_Adapters_Test.cpp b/ACE/tests/Network_Adapters_Test.cpp
index 3e23dcdc77a..0e43095c5bb 100644
--- a/ACE/tests/Network_Adapters_Test.cpp
+++ b/ACE/tests/Network_Adapters_Test.cpp
@@ -13,7 +13,8 @@
#include "ace/config-all.h"
#include "test_config.h"
-#if defined (ACE_HAS_ICMP_SUPPORT) && (ACE_HAS_ICMP_SUPPORT == 1)
+#if defined (ACE_HAS_ICMP_SUPPORT) && (ACE_HAS_ICMP_SUPPORT == 1) && \
+ !defined ACE_LACKS_GETPROTOBYNAME
#include "ace/ACE.h"
#include "ace/Get_Opt.h"