fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / sendto
index d9a292c85734f212912dfb64c90ece82726c59cf..b28a7ea35429d7e070169292518bc9baced9cf12 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])