Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Feb 12, 2014
1 parent d3e3bfe commit d3154ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/un.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
Expand Down Expand Up @@ -52,8 +53,9 @@ rdns_make_socket_nonblocking (int fd)
static int
rdns_make_inet_socket (int type, struct addrinfo *addr)
{
int fd, r, optlen, on = 1, s_error;
struct addrinfo *cur;
int fd, r, on = 1, s_error;
socklen_t optlen;
struct addrinfo *cur;

cur = addr;
while (cur) {
Expand Down

0 comments on commit d3154ea

Please sign in to comment.