diff --git a/src/libCom/misc/ipAddrToAsciiAsynchronous.cpp b/src/libCom/misc/ipAddrToAsciiAsynchronous.cpp index e9176eba9..ce043bb47 100644 --- a/src/libCom/misc/ipAddrToAsciiAsynchronous.cpp +++ b/src/libCom/misc/ipAddrToAsciiAsynchronous.cpp @@ -18,7 +18,7 @@ #include "osiThread.h" #include "ipAddrToAsciiAsynchronous.h" -osiMutex ipAddrToAsciiEngine::mutex; +epicsMutex ipAddrToAsciiEngine::mutex; ipAddrToAsciiEngine::ipAddrToAsciiEngine ( const char *pName ) : osiThread ( pName, 0x1000, threadPriorityLow ), nextId ( 0u ), diff --git a/src/libCom/misc/ipAddrToAsciiAsynchronous.h b/src/libCom/misc/ipAddrToAsciiAsynchronous.h index ad02c8bdb..f6118306f 100644 --- a/src/libCom/misc/ipAddrToAsciiAsynchronous.h +++ b/src/libCom/misc/ipAddrToAsciiAsynchronous.h @@ -17,7 +17,7 @@ #ifndef ipAddrToAsciiAsynchronous_h #define ipAddrToAsciiAsynchronous_h -#include "osiEvent.h" +#include "epicsMutex.h" #include "osiSock.h" #include "tsDLList.h" #include "shareLib.h" @@ -38,7 +38,7 @@ private: char nameTmp [1024]; unsigned nextId; bool exitFlag; - static osiMutex mutex; + static epicsMutex mutex; void entryPoint (); friend class ipAddrToAsciiAsynchronous; };