From: ben Date: Wed, 27 Apr 2005 15:42:10 +0000 (+0000) Subject: Rather than checking for , just include it if our other X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/376eafbf00a5abe767ca04714959d532d1aca19b Rather than checking for , just include it if our other attempts at finding SIOCATMARK have failed. This removes one of our Autoconf tests, which is always nice. git-svn-id: svn://svn.tartarus.org/sgt/putty@5690 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/configure.ac b/unix/configure.ac index 0cbd5cee..699e6ef8 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -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 #include ]) diff --git a/unix/uxnet.c b/unix/uxnet.c index 5d4ace44..a43adcb1 100644 --- a/unix/uxnet.c +++ b/unix/uxnet.c @@ -23,7 +23,7 @@ #include "tree234.h" /* Solaris needs for SIOCATMARK. */ -#ifdef HAVE_SYS_SOCKIO_H +#ifndef SOCKATMARK #include #endif