Browse Source

Fixup merge

Stefan Profanter 6 years ago
parent
commit
50f2d7c459
2 changed files with 3 additions and 0 deletions
  1. 2 0
      arch/posix/CMakeLists.txt
  2. 1 0
      arch/ua_network_tcp.c

+ 2 - 0
arch/posix/CMakeLists.txt

@@ -16,6 +16,8 @@ if (${_index} GREATER -1 OR "${UA_ARCHITECTURE}" STREQUAL "posix")
 
         if(QNXNTO)
           ua_architecture_append_to_library(socket c stdc++)
+        elseif(OS9)
+          ua_architecture_append_to_library(netdb ndblib socket)
         else()
           ua_architecture_append_to_library(m)
           if(UA_ENABLE_MULTITHREADING OR UA_BUILD_UNIT_TESTS)

+ 1 - 0
arch/ua_network_tcp.c

@@ -928,6 +928,7 @@ UA_ClientConnectionTCP(UA_ConnectionConfig conf,
                                     (long int) (timeout_usec % 1000000)};
 
             int resultsize = UA_select((UA_Int32)(clientsockfd + 1), NULL, &fdset, NULL, &tmptv);
+#endif
 
             if(resultsize == 1) {
 #ifdef _WIN32