Browse code

- fixed warnings due to missing unistd.h

Jan Janak authored on 11/02/2005 13:07:02
Showing 1 changed files
... ...
@@ -26,6 +26,7 @@
26 26
  *
27 27
  */
28 28
 
29
+#include <unistd.h>
29 30
 #include <stdio.h>
30 31
 #include <string.h>
31 32
 #include <sys/types.h>
... ...
@@ -57,7 +58,7 @@ int main(int argc, char** argv)
57 58
 {
58 59
 	int sock, len, from_len;
59 60
 	struct sockaddr_un from, to;
60
-	char* name, *s;
61
+	char* name;
61 62
 	static char buffer[BUF_SIZE];
62 63
 
63 64
 	if (argc != 2) {