forked from mirrors/tftp-hpa-google
Solaris need #define _XPG4_2 for recvmsg()
This commit is contained in:
parent
6b1cb87881
commit
5ed924bce2
3 changed files with 3 additions and 0 deletions
1
aclocal.m4
vendored
1
aclocal.m4
vendored
|
@ -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>
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define _XPG4_2 /* Needed on Solaris */
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define _XPG4_2 /* Needed on Solaris */
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue