Browse Source

remove include of unistd.h in worker code

Julius Pfrommer 7 years ago
parent
commit
b9c87e103e
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/server/ua_server_worker.c

+ 0 - 6
src/server/ua_server_worker.c

@@ -42,12 +42,6 @@
 
 #define UA_MAXTIMEOUT 50 // max timeout in millisec until the next main loop iteration
 
-#ifdef UA_ENABLE_DISCOVERY_MULTICAST
-# ifndef _WIN32
-#  include <unistd.h> // gethostname
-# endif
-#endif
-
 void
 UA_Server_processJob(UA_Server *server, UA_Job *job) {
     UA_ASSERT_RCU_UNLOCKED();