diff --git a/src/client/pv/monitor.h b/src/client/pv/monitor.h index 5fb70a6..394707f 100644 --- a/src/client/pv/monitor.h +++ b/src/client/pv/monitor.h @@ -9,13 +9,24 @@ #ifndef MONITOR_H #define MONITOR_H +#ifdef epicsExportSharedSymbols +# define monitorEpicsExportSharedSymbols +# undef epicsExportSharedSymbols +#endif + #include -#include #include #include #include #include +#ifdef monitorEpicsExportSharedSymbols +# define epicsExportSharedSymbols +# undef monitorEpicsExportSharedSymbols +#endif + +#include + #include namespace epics { namespace pvAccess { diff --git a/src/client/pv/pvAccess.h b/src/client/pv/pvAccess.h index 5e09e4d..25970c3 100644 --- a/src/client/pv/pvAccess.h +++ b/src/client/pv/pvAccess.h @@ -18,7 +18,6 @@ #include #include #include -#include #include #ifdef pvAccessEpicsExportSharedSymbols @@ -28,6 +27,7 @@ #include #include +#include #include diff --git a/src/server/pv/serverChannelImpl.h b/src/server/pv/serverChannelImpl.h index afe9a19..eac44c0 100644 --- a/src/server/pv/serverChannelImpl.h +++ b/src/server/pv/serverChannelImpl.h @@ -7,18 +7,7 @@ #ifndef SERVERCHANNEL_H_ #define SERVERCHANNEL_H_ -#ifdef epicsExportSharedSymbols -# define serverChannelImplEpicsExportSharedSymbols -# undef epicsExportSharedSymbols -#endif - #include - -#ifdef serverChannelImplEpicsExportSharedSymbols -# define epicsExportSharedSymbols -# undef serverChannelImplEpicsExportSharedSymbols -#endif - #include #include #include