/* Test of <sys/socket.h> substitute.
- Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
socklen_t t1;
/* Check that the 'size_t' and 'ssize_t' types are defined. */
-size_t t1;
-ssize_t t2;
+size_t t2;
+ssize_t t3;
/* Check that 'struct iovec' is defined. */
struct iovec io;
sa_family_t i;
/* Check some errno values. */
- switch (0)
+ switch (ENOTSOCK)
{
case ENOTSOCK:
case EADDRINUSE: