diff options
Diffstat (limited to 'tests/virtsock/virtsock_server_unix_domain.c')
-rw-r--r-- | tests/virtsock/virtsock_server_unix_domain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/virtsock/virtsock_server_unix_domain.c b/tests/virtsock/virtsock_server_unix_domain.c index 956c3592..8f2960bb 100644 --- a/tests/virtsock/virtsock_server_unix_domain.c +++ b/tests/virtsock/virtsock_server_unix_domain.c @@ -7,6 +7,8 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> +#include <unistd.h> + #define BUF 1024 #define UDS_FILE "/tmp/osmocom_l2" int main(void) { @@ -15,7 +17,6 @@ int main(void) { char *buffer = malloc(BUF); ssize_t size; struct sockaddr_un address; - const int y = 1; printf("\e[2J"); if ((create_socket = socket(AF_LOCAL, SOCK_STREAM, 0)) > 0) printf("Socket wurde angelegt\n"); |