Rather than checking for <sys/sockio.h>, just include it if our other
[u/mdw/putty] / unix / uxnet.c
index 5d4ace4..a43adcb 100644 (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