X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d21f2ae93e81aa5f8e1e596c7b4c04132199c6cc..f384309c9c663a4b381d2e1a8545693514835395:/projects/sgauthstress/user.cpp

diff --git a/projects/sgauthstress/user.cpp b/projects/sgauthstress/user.cpp
index 808ff7aa..944907fe 100644
--- a/projects/sgauthstress/user.cpp
+++ b/projects/sgauthstress/user.cpp
@@ -1,5 +1,7 @@
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <unistd.h> // close
 
 #include <cstring>
 #include <cerrno>
@@ -51,7 +53,7 @@ if (sock > 0)
     close(sock);
 }
 
-const USER & USER::operator=(const USER & rvalue)
+USER & USER::operator=(const USER & rvalue)
 {
 login = rvalue.login;
 password = rvalue.password;