1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00

Rather than checking for <sys/sockio.h>, just include it if our other

attempts at finding SIOCATMARK have failed.  This removes one of our
Autoconf tests, which is always nice.

[originally from svn r5690]
This commit is contained in:
Ben Harris 2005-04-27 15:42:10 +00:00
parent 024781b3ed
commit 62cdb81e0a
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@ if test "X$GCC" = Xyes; then
CFLAGS="$CFLAGS -Wall -Werror"
fi
AC_CHECK_HEADERS([sys/sockio.h],,,[ ])
AC_CHECK_HEADERS([utmpx.h],,,[
#include <sys/types.h>
#include <utmp.h>])

View File

@ -23,7 +23,7 @@
#include "tree234.h"
/* Solaris needs <sys/sockio.h> for SIOCATMARK. */
#ifdef HAVE_SYS_SOCKIO_H
#ifndef SOCKATMARK
#include <sys/sockio.h>
#endif