mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-22 13:35:03 -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:
parent
024781b3ed
commit
62cdb81e0a
@ -14,7 +14,6 @@ if test "X$GCC" = Xyes; then
|
|||||||
CFLAGS="$CFLAGS -Wall -Werror"
|
CFLAGS="$CFLAGS -Wall -Werror"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_HEADERS([sys/sockio.h],,,[ ])
|
|
||||||
AC_CHECK_HEADERS([utmpx.h],,,[
|
AC_CHECK_HEADERS([utmpx.h],,,[
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <utmp.h>])
|
#include <utmp.h>])
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "tree234.h"
|
#include "tree234.h"
|
||||||
|
|
||||||
/* Solaris needs <sys/sockio.h> for SIOCATMARK. */
|
/* Solaris needs <sys/sockio.h> for SIOCATMARK. */
|
||||||
#ifdef HAVE_SYS_SOCKIO_H
|
#ifndef SOCKATMARK
|
||||||
#include <sys/sockio.h>
|
#include <sys/sockio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user