diff options
author | David Robillard <d@drobilla.net> | 2018-09-16 21:09:11 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-16 21:12:33 +0200 |
commit | d6744d73957bb23a57a5d2c1f207eb239d1a6d0d (patch) | |
tree | 0d96084528407848f4c13f37729b8590d02d587d /test/socket_test.cpp | |
parent | c36cd340ac0037ff75c9c287cf4c82e2f58beb2f (diff) | |
download | raul-d6744d73957bb23a57a5d2c1f207eb239d1a6d0d.tar.gz raul-d6744d73957bb23a57a5d2c1f207eb239d1a6d0d.tar.bz2 raul-d6744d73957bb23a57a5d2c1f207eb239d1a6d0d.zip |
Clean up includes
Diffstat (limited to 'test/socket_test.cpp')
-rw-r--r-- | test/socket_test.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/test/socket_test.cpp b/test/socket_test.cpp index 8dd4aff..2472c21 100644 --- a/test/socket_test.cpp +++ b/test/socket_test.cpp @@ -14,19 +14,24 @@ along with Raul. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdio.h> -#include <sys/types.h> +#include "raul/Socket.hpp" + +#include <poll.h> #include <sys/wait.h> #include <unistd.h> -#include "raul/Socket.hpp" - -using namespace std; -using namespace Raul; +#include <cerrno> +#include <cstdio> +#include <cstring> +#include <memory> +#include <string> +#include <utility> int main(int argc, char** argv) { + using Socket = Raul::Socket; + std::string unix_uri("unix:///tmp/raul_test_sock"); std::string tcp_uri("tcp://127.0.0.1:12345"); |