summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/socket.test2
-rw-r--r--unix/tclUnixSock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/socket.test b/tests/socket.test
index 7250cb8..7fdb09d 100644
--- a/tests/socket.test
+++ b/tests/socket.test
@@ -1071,7 +1071,7 @@ test socket_$af-7.3 {testing socket specific options} -constraints [list socket
close $s
update
llength $l
-} -result 18
+} -result 22
test socket_$af-7.4 {testing socket specific options} -constraints [list socket supported_$af] -setup {
set timer [after 10000 "set x timed_out"]
set l ""
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index e904cfd..abd7fa6 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -9,8 +9,8 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include <netinet/tcp.h>
#include "tclInt.h"
+#include <netinet/tcp.h>
/*
* Helper macros to make parts of this file clearer. The macros do exactly