diff options
-rw-r--r-- | aclocal.m4 | 1 | ||||
-rw-r--r-- | tftpd/recvfrom.c | 1 | ||||
-rw-r--r-- | tftpd/recvfrom.h | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -40,6 +40,7 @@ AC_DEFUN(PA_MSGHDR_MSG_CONTROL, [AC_MSG_CHECKING([for msg_control in struct msghdr]) AC_TRY_COMPILE( [ +#define _XPG4_2 /* Needed on Solaris */ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/tftpd/recvfrom.c b/tftpd/recvfrom.c index 38eac94..fbe902b 100644 --- a/tftpd/recvfrom.c +++ b/tftpd/recvfrom.c @@ -18,6 +18,7 @@ * */ +#define _XPG4_2 /* Needed on Solaris */ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/tftpd/recvfrom.h b/tftpd/recvfrom.h index 3bb2b39..1de145e 100644 --- a/tftpd/recvfrom.h +++ b/tftpd/recvfrom.h @@ -16,6 +16,7 @@ * */ +#define _XPG4_2 /* Needed on Solaris */ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> |