Browse Source

check for sockaddr_in.sin_len directly.

There is no standard SIN_LEN, unlike SIN6_LEN.
OPENBSD_5_7
Brent Cook 10 years ago
parent
commit
f55fb2f9bb
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      configure.ac

+ 6
- 0
configure.ac View File

@ -170,6 +170,12 @@ AC_CHECK_HEADERS([sys/sensors.h],
AM_CONDITIONAL(HAVE_SENSORS, false)
)
AC_CHECK_MEMBERS([struct sockaddr_in.sin_len], , ,
[ #include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h> ]
)
AC_ARG_WITH(privsep-user,
[ --with-privsep-user=user Specify privilege separation user],
[ AC_DEFINE_UNQUOTED(NTPD_USER, "$withval",


Loading…
Cancel
Save