Commit 6bb0f887 authored by Brian Cameron's avatar Brian Cameron Committed by Brian Cameron

configure.ac, common/gdm-address.c use HAVE_SYS_SOCKIO_H for sys/sockio.h

2008-02-01  Brian Cameron  <brian.cameron@sun.com>

        * configure.ac, common/gdm-address.c use HAVE_SYS_SOCKIO_H
          for sys/sockio.h inclusion.

svn path=/trunk/; revision=5682
parent d9ecf1b6
2008-02-01 Brian Cameron <brian.cameron@sun.com>
* configure.ac, common/gdm-address.c use HAVE_SYS_SOCKIO_H
for sys/sockio.h inclusion.
2008-02-01 William Jon McCann <mccann@jhu.edu>
* daemon/gdm-greeter-session.c: (gdm_greeter_session_new):
......
......@@ -27,10 +27,12 @@
#include <unistd.h>
#include <stropts.h>
#include <string.h>
#ifdef HAS_SYS_SOCKET
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif
#include <netdb.h>
#include <sys/ioctl.h>
#include <net/if.h>
......
......@@ -261,7 +261,7 @@ AC_CHECK_TYPE(socklen_t,,
#include <sys/socket.h>
#endif
)
AC_CHECK_HEADERS(sys/sockio.h)
AC_CHECK_FUNCS([setresuid setenv unsetenv clearenv])
dnl checks needed for Darwin compatibility to linux **environ.
......
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