Skip to content

Commit

Permalink
Merge pull request #38 from bgernert/time.h-fix
Browse files Browse the repository at this point in the history
 Compilation fails under Alpine Linux
  • Loading branch information
Fabian Mauchle authored and GitHub committed Jun 23, 2019
2 parents 2dc57e0 + 8a9d099 commit 471f76a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions radsecproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,8 +1091,8 @@ struct clsrvconf *choosesrvconf(struct list *srvconfs) {
server = (struct clsrvconf *)entry->data;
if (!server->servers)
return server;
if (server->servers->state == RSP_SERVER_STATE_FAILING)
continue;
if (server->servers->state == RSP_SERVER_STATE_FAILING)
continue;
if (!first)
first = server;
if (server->servers->state == RSP_SERVER_STATE_STARTUP || server->servers->state == RSP_SERVER_STATE_RECONNECTING)
Expand Down
1 change: 0 additions & 1 deletion util.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <poll.h>
#include <stdarg.h>
#include <assert.h>
#include <sys/time.h>
#include "debug.h"
#include "util.h"

Expand Down
1 change: 1 addition & 0 deletions util.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/* See LICENSE for licensing information. */

#include <sys/socket.h>
#include <sys/time.h>
#include <netdb.h>

#define SOCKADDR_SIZE(addr) ((addr).ss_family == AF_INET ? \
Expand Down

0 comments on commit 471f76a

Please sign in to comment.