Commit 24fd4ba7 authored by William Gropp's avatar William Gropp
Browse files

[svn-r4097] Added socket.h, required for socket on AIX

parent 89405b14
......@@ -35,7 +35,7 @@ AC_PROG_CC
CFLAGS=$save_cflags
dnl Check if the necessary headers are available
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h stdarg.h sys/types.h)
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h stdarg.h sys/types.h sys/socket.h)
# Check for special types
AC_TYPE_SIZE_T
......
......@@ -6,6 +6,10 @@
#include "hydra_utils.h"
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
HYD_Status HYDU_Sock_listen(int *listen_fd, char *port_range, uint16_t * port)
{
struct sockaddr_in sa;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment