summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin R. Wilson <wilsonj@objectcomputing.com>2020-04-09 14:11:46 -0500
committerJustin R. Wilson <wilsonj@objectcomputing.com>2020-04-09 14:11:46 -0500
commitae87fba1b2b23893e3273bd4f70e3ae93b9d105b (patch)
treea8e104c9c0b7aa1ecb7a6ada5a886b642c2ca385
parentceb4c6b8853ecf9d94e82c744faaaf19fbe5da4c (diff)
downloadATCD-ae87fba1b2b23893e3273bd4f70e3ae93b9d105b.tar.gz
Fix scoping issue
-rw-r--r--ACE/ace/OS_NS_sys_socket.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/OS_NS_sys_socket.h b/ACE/ace/OS_NS_sys_socket.h
index e72a70e94e5..3c34e452902 100644
--- a/ACE/ace/OS_NS_sys_socket.h
+++ b/ACE/ace/OS_NS_sys_socket.h
@@ -75,6 +75,10 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class ACE_Accept_QoS_Params;
class ACE_QoS_Params;
+#if defined(ACE_WIN32)
+ struct if_nameindex {};
+#endif
+
namespace ACE_OS
{
@@ -280,10 +284,6 @@ namespace ACE_OS
ACE_NAMESPACE_INLINE_FUNCTION
char *if_indextoname (unsigned int ifindex, char *ifname);
-#if defined(ACE_WIN32)
- struct if_nameindex {};
-#endif
-
ACE_NAMESPACE_INLINE_FUNCTION
struct if_nameindex *if_nameindex (void);