Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/ur_client_library/comm/socket_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ static inline int ur_close(socket_t s)

#else // _WIN32

# include <arpa/inet.h>
# include <netdb.h>
# include <sys/select.h>
# include <sys/socket.h>
# include <sys/time.h>
# include <sys/types.h>
# include <unistd.h>

Expand Down
1 change: 1 addition & 0 deletions include/ur_client_library/comm/tcp_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <chrono>
#include <functional>
#include <thread>
#include <vector>

#include "ur_client_library/comm/socket_t.h"

Expand Down
2 changes: 2 additions & 0 deletions include/ur_client_library/exceptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
# ifdef ERROR
# undef ERROR
# endif // ERROR
#else
# include <sys/time.h>
#endif

namespace urcl
Expand Down
4 changes: 2 additions & 2 deletions include/ur_client_library/queue/atomicops.h
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ __declspec(dllimport) int __stdcall ReleaseSemaphore(void* hSemaphore, long lRel
}
#elif defined(__MACH__)
# include <mach/mach.h>
#elif defined(__unix__)
#elif defined(__unix__) || defined(__VXWORKS__)
# include <semaphore.h>
#endif

Expand Down Expand Up @@ -543,7 +543,7 @@ class Semaphore
}
}
};
#elif defined(__unix__)
#elif defined(__unix__) || defined(__VXWORKS__)
//---------------------------------------------------------
// Semaphore (POSIX, Linux)
//---------------------------------------------------------
Expand Down
Loading