projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add test results from AIX 5.2.
[gnulib.git]
/
tests
/
test-sys_socket.c
diff --git
a/tests/test-sys_socket.c
b/tests/test-sys_socket.c
index
69ae4c7
..
385cc5d
100644
(file)
--- a/
tests/test-sys_socket.c
+++ b/
tests/test-sys_socket.c
@@
-23,14
+23,16
@@
#include <errno.h>
+#if HAVE_SHUTDOWN
/* Check some integer constant expressions. */
int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };
+#endif
int
main ()
{
/* Check some errno values. */
- switch (
a[0]
)
+ switch (
0
)
{
case ENOTSOCK:
case EADDRINUSE: