Skip to content

Commit

Permalink
- Fix AF_LOCAL compile error for Solaris.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Feb 8, 2021
1 parent d1d66db commit 58dddc3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
8 February 2021: Wouter
- Fix AF_LOCAL compile error for Solaris.

4 February 2021: Wouter
- Merge PR #153 from fobser: Repair -fno-common linker errors
automatically.
Expand Down
1 change: 1 addition & 0 deletions doc/RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ BUG FIXES:
- Merge PR #153 from fobser: Repair -fno-common linker errors
automatically.
- Fix uninitialized access of log_buf in error printout on apply ixfr.
- Fix AF_LOCAL compile error for Solaris.


4.3.5
Expand Down
3 changes: 3 additions & 0 deletions nsd-control.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
#include <sys/un.h>
#endif
#include <fcntl.h>
#ifndef AF_LOCAL
#define AF_LOCAL AF_UNIX
#endif
#include "util.h"
#include "tsig.h"
#include "options.h"
Expand Down
3 changes: 3 additions & 0 deletions remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@
#ifdef HAVE_SYS_UN_H
# include <sys/un.h>
#endif
#ifndef AF_LOCAL
#define AF_LOCAL AF_UNIX
#endif

/** number of seconds timeout on incoming remote control handshake */
#define REMOTE_CONTROL_TCP_TIMEOUT 120
Expand Down

0 comments on commit 58dddc3

Please sign in to comment.