]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/user.cpp
Added functional test framework.
[stg.git] / projects / sgauthstress / user.cpp
index 808ff7aa2cb98c9b68621b476b59bfe35b7990c5..944907fe8abf74221dd12e2b3acd076a71e0abf5 100644 (file)
@@ -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;