]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/inet.h
Decorate things which constitute the public API
[libs/net.git] / source / net / inet.h
index 517b111b42a71e386ca1c692293f1632733006f8..fb76d7e4d5edd29676d3158baa759c2922d733cf 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_NET_INET_H_
 #define MSP_NET_INET_H_
 
+#include "mspnet_api.h"
 #include "sockaddr.h"
 
 namespace Msp {
@@ -9,7 +10,7 @@ namespace Net {
 /**
 Address class for IPv4 sockets.
 */
-class InetAddr: public SockAddr
+class MSPNET_API InetAddr: public SockAddr
 {
 private:
        unsigned char addr[4] = { };